@@ -12,22 +12,25 @@ __fast-json-stringify__ is significantly faster than `JSON.stringify()` for smal
12
12
##### Benchmarks
13
13
14
14
- Machine: ` EX41S-SSD, Intel Core i7, 4Ghz, 64GB RAM, 4C/8T, SSD ` .
15
- - Node.js ` v12.16.2 `
15
+ - Node.js ` v16.9.1 `
16
16
17
17
```
18
- FJS creation x 59,805 ops/sec ±0.23 % (91 runs sampled)
18
+ FJS creation x 6,040 ops/sec ±1.17 % (91 runs sampled)
19
19
20
- JSON.stringify array x 5,330 ops/sec ±0.54 % (97 runs sampled)
21
- fast-json-stringify array x 6,995 ops/sec ±0.24 % (94 runs sampled)
20
+ JSON.stringify array x 5,519 ops/sec ±0.08 % (99 runs sampled)
21
+ fast-json-stringify array x 7,143 ops/sec ±0.14 % (97 runs sampled)
22
22
23
- JSON.stringify long string x 15,108 ops/sec ±0.13 % (100 runs sampled)
24
- fast-json-stringify long string x 15,089 ops/sec ±0.15 % (98 runs sampled)
23
+ JSON.stringify long string x 16,438 ops/sec ±0.32 % (98 runs sampled)
24
+ fast-json-stringify long string x 16,457 ops/sec ±0.09 % (97 runs sampled)
25
25
26
- JSON.stringify short string x 13,214,696 ops/sec ±0.19 % (97 runs sampled)
27
- fast-json-stringify short string x 33,378,500 ops/sec ±0.27 % (95 runs sampled)
26
+ JSON.stringify short string x 12,061,258 ops/sec ±0.32 % (97 runs sampled)
27
+ fast-json-stringify short string x 35,531,071 ops/sec ±0.17 % (94 runs sampled)
28
28
29
- JSON.stringify obj x 3,172,653 ops/sec ±0.15% (98 runs sampled)
30
- fast-json-stringify obj x 13,537,123 ops/sec ±0.19% (95 runs sampled)
29
+ JSON.stringify obj x 3,079,746 ops/sec ±0.09% (95 runs sampled)
30
+ fast-json-stringify obj x 7,721,569 ops/sec ±0.12% (98 runs sampled)
31
+
32
+ JSON stringify date x 1,149,786 ops/sec ±0.10% (99 runs sampled)
33
+ fast-json-stringify date format x 1,674,498 ops/sec ±0.12% (99 runs sampled)
31
34
```
32
35
33
36
#### Table of contents:
0 commit comments