[bisq-network/bisq] Extract persistence of BSQ blocks out of DaoStateStore [5] (PR #5790)

Christoph Atteneder notifications at github.com
Mon Nov 8 12:42:44 CET 2021


@ripcurlx commented on this pull request.



> +            // 400 000
+          /*  long ts = System.currentTimeMillis();
+            int size = 10000000;
+            for (int i = 0; i < size; i++) {
+                String val = String.valueOf(c * i);
+                String key = c + sep + i;
+                store.putString(key, val); //400 000
+               // log.error("write key/val {}/{}", key, val);
+            }
+
+            log.error("write took {} ms", System.currentTimeMillis() - ts);
+            ts = System.currentTimeMillis();
+            for (int i = 0; i < size; i++) {
+                String key = c + sep + i;
+                String val = store.getString(key);
+                //log.error("read key/val {}/{}", key, val);
+            }
+            log.error("read took {} ms", System.currentTimeMillis() - ts);
+            c++;*/

Why is this code part commented out?

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/bisq-network/bisq/pull/5790#pullrequestreview-800010542
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bisq.network/pipermail/bisq-github/attachments/20211108/5e39743a/attachment.htm>


More information about the bisq-github mailing list