benchmarks for all the parts of ssb
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
.gitignore
.npmrc
.travis.yml
00-generate.js
01-validate.js
02-json.js
03-flume.js
04-minimal.js
05-ssb-legacy.js
06-ssb-read.js
07-clock-dump.js
08-sbot-read.js
09-sbot-replicate.js
10-sbot-replicate-post.js
11-sbot-replicate-ebt.js
12-flume-reduce.js
LICENSE
README.md
loop.js
package.json
run-all.sh
system-information.js
uncache.sh
util.js

README.md

bench-ssb

The benchmarks run on 100k messages and consists of:

  1. Validate: test the performance of validating messages using ssb-validate
  2. JSON: test the performance of JSON stringify
  3. Flume: test appending messages to flumedb
  4. Minimal: append messages to secure scuttlebutt
  5. SSB Legacy: test the performance of createWriteStream
  6. SSB read: test the performance of db.get
  7. Clock dump: read a vector clock using getAtSequence
  8. Sbot read: read a vector clock using createHistoryStream
  9. Sbot replicate: replicate messages between two sbots using sbot read
  10. Sbot replicate post: replicate using post instead of createHistoryStream
  11. Sbot replicate ebt: like post but using ebt
  12. Flume reduce: test the performance of reduce, often used in indexes

The results can be visualized using benchmark-ci-visualizer repo.

License

MIT