Skip to content

Commit 12105cb

Browse files
authored
Update benchmark.md
1 parent 66fcb86 commit 12105cb

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

docs/benchmark.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ node benchmark
1111

1212
# Results
1313

14-
These results are from 10/08/2018, on a MacBook Pro (Retina, 15-inch, Mid 2014, OSX 10.11.6), using nodejs v10.11.0.
14+
These results are from 03/29/2020, on a MacBook Pro (Retina, 15-inch, Mid 2014, OSX 10.11.6), using nodejs v12.16.1.
1515

1616
```
1717
--- reading rows individually ---
18-
better-sqlite3 x 283,745 ops/sec ±0.16%
19-
node-sqlite3 x 27,191 ops/sec ±0.39%
18+
better-sqlite3 x 313,899 ops/sec ±0.13%
19+
node-sqlite3 x 26,780 ops/sec ±2.9%
2020
2121
--- reading 100 rows into an array ---
22-
better-sqlite3 x 6,650 ops/sec ±0.25%
23-
node-sqlite3 x 2,978 ops/sec ±0.33%
22+
better-sqlite3 x 8,508 ops/sec ±0.27%
23+
node-sqlite3 x 2,930 ops/sec ±0.37%
2424
2525
--- iterating over 100 rows ---
26-
better-sqlite3 x 5,231 ops/sec ±0.28%
27-
node-sqlite3 x 278 ops/sec ±0.62%
26+
better-sqlite3 x 6,532 ops/sec ±0.32%
27+
node-sqlite3 x 268 ops/sec ±3.4%
2828
2929
--- inserting rows individually ---
30-
better-sqlite3 x 64,920 ops/sec ±5.86%
31-
node-sqlite3 x 23,564 ops/sec ±3.58%
30+
better-sqlite3 x 62,554 ops/sec ±7.33%
31+
node-sqlite3 x 22,637 ops/sec ±4.37%
3232
3333
--- inserting 100 rows in a single transaction ---
34-
better-sqlite3 x 4,155 ops/sec ±4.45%
35-
node-sqlite3 x 321 ops/sec ±1.4%
34+
better-sqlite3 x 4,141 ops/sec ±4.57%
35+
node-sqlite3 x 265 ops/sec ±4.87%
3636
```
3737

3838
> All benchmarks are executed in [WAL mode](./performance.md).

0 commit comments

Comments
 (0)