mirror of
https://github.com/hanzoai/better-sqlite3-multiple-ciphers.git
synced 2026-09-24 16:57:19 +00:00
Update benchmark.md
This commit is contained in:
+11
-11
@@ -11,28 +11,28 @@ node benchmark
|
||||
|
||||
# Results
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
```
|
||||
--- reading rows individually ---
|
||||
better-sqlite3 x 283,745 ops/sec ±0.16%
|
||||
node-sqlite3 x 27,191 ops/sec ±0.39%
|
||||
better-sqlite3 x 313,899 ops/sec ±0.13%
|
||||
node-sqlite3 x 26,780 ops/sec ±2.9%
|
||||
|
||||
--- reading 100 rows into an array ---
|
||||
better-sqlite3 x 6,650 ops/sec ±0.25%
|
||||
node-sqlite3 x 2,978 ops/sec ±0.33%
|
||||
better-sqlite3 x 8,508 ops/sec ±0.27%
|
||||
node-sqlite3 x 2,930 ops/sec ±0.37%
|
||||
|
||||
--- iterating over 100 rows ---
|
||||
better-sqlite3 x 5,231 ops/sec ±0.28%
|
||||
node-sqlite3 x 278 ops/sec ±0.62%
|
||||
better-sqlite3 x 6,532 ops/sec ±0.32%
|
||||
node-sqlite3 x 268 ops/sec ±3.4%
|
||||
|
||||
--- inserting rows individually ---
|
||||
better-sqlite3 x 64,920 ops/sec ±5.86%
|
||||
node-sqlite3 x 23,564 ops/sec ±3.58%
|
||||
better-sqlite3 x 62,554 ops/sec ±7.33%
|
||||
node-sqlite3 x 22,637 ops/sec ±4.37%
|
||||
|
||||
--- inserting 100 rows in a single transaction ---
|
||||
better-sqlite3 x 4,155 ops/sec ±4.45%
|
||||
node-sqlite3 x 321 ops/sec ±1.4%
|
||||
better-sqlite3 x 4,141 ops/sec ±4.57%
|
||||
node-sqlite3 x 265 ops/sec ±4.87%
|
||||
```
|
||||
|
||||
> All benchmarks are executed in [WAL mode](./performance.md).
|
||||
|
||||
Reference in New Issue
Block a user