Skip to content

Commit

Permalink
Update name of put benchmark in third-party README
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Jun 30, 2019
1 parent 208cb80 commit d9d54de
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions third-party/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,24 @@ This directory contains thin wrappers (that intentionally _don't_ implement the

## Supported benchmarks (so far)

The `write` benchmark on `ioredis` (`redis-server` must be available in `PATH`):
The `put` benchmark on `ioredis` (`redis-server` must be available in `PATH`):

```
npm i ioredis leveldown
level-bench run write ioredis
level-bench run write leveldown
level-bench plot write
level-bench run put ioredis
level-bench run put leveldown
level-bench plot put
```

![write.ioredis-vs-leveldown](img/write.ioredis-vs-leveldown.png)

The `write` benchmark on `sqlite3` (100-1000x slower than `leveldown`, lower the amount of operations with `-n`):
The `put` benchmark on `sqlite3` (100-1000x slower than `leveldown`, lower the amount of operations with `-n`):

```
npm i sqlite3 leveldown
level-bench run write sqlite3 -b [-n 2e4]
level-bench run write leveldown -b [-n 2e4]
level-bench plot write
level-bench run put sqlite3 -b [-n 2e4]
level-bench run put leveldown -b [-n 2e4]
level-bench plot put
```

![write.sqlite3-vs-leveldown](img/write.sqlite3-vs-leveldown.png)

0 comments on commit d9d54de

Please sign in to comment.