@@ -11,28 +11,28 @@ node benchmark
11
11
12
12
# Results
13
13
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 .
15
15
16
16
```
17
17
--- 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 %
20
20
21
21
--- 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 %
24
24
25
25
--- 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 %
28
28
29
29
--- 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 %
32
32
33
33
--- 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 %
36
36
```
37
37
38
38
> All benchmarks are executed in [ WAL mode] ( ./performance.md ) .
0 commit comments