You are reading content from Scuttlebutt
@Anders %zaaPeF1Qp996X4olYkgeEN4bCMMj++vwmHUexoEH5s0=.sha256

Why is createLogStream so slow?

      sbot.createLogStream({ reverse: true, limit: 30000 }),

take 9 seconds? Even without reserve its about the same.

@Anders %RHLLGdKXdB4SWGx2syxCVhncMg+sst75wBFBzhxconM=.sha256

cc %j4opufq... #scuttlebot

@Anders %Bj/D5jrRVM/oubDJLf8ihgwEIuhfuJgilOdsoYBu168=.sha256

Thats 23mb json. Strange thing is that values: false is not that much faster. Digging a bit deeper this function comes from legacy.js and its using the old leveldb. I converted that to use flumedb and it appears to be about 10% faster. @dominic what is the plan with legacy.js and the interfaces?

Join Scuttlebutt now