@@ -22,22 +22,28 @@ fast-json-stringify requires a [JSON Schema Draft 7](https://json-schema.org/spe
22
22
- Node.js ` v16.9.1 `
23
23
24
24
```
25
- FJS creation x 6,040 ops/sec ±1.17% (91 runs sampled)
26
-
27
- JSON.stringify array x 5,519 ops/sec ±0.08% (99 runs sampled)
28
- fast-json-stringify array x 7,143 ops/sec ±0.14% (97 runs sampled)
29
-
30
- JSON.stringify long string x 16,438 ops/sec ±0.32% (98 runs sampled)
31
- fast-json-stringify long string x 16,457 ops/sec ±0.09% (97 runs sampled)
32
-
33
- JSON.stringify short string x 12,061,258 ops/sec ±0.32% (97 runs sampled)
34
- fast-json-stringify short string x 35,531,071 ops/sec ±0.17% (94 runs sampled)
35
-
36
- JSON.stringify obj x 3,079,746 ops/sec ±0.09% (95 runs sampled)
37
- fast-json-stringify obj x 7,721,569 ops/sec ±0.12% (98 runs sampled)
38
-
39
- JSON stringify date x 1,149,786 ops/sec ±0.10% (99 runs sampled)
40
- fast-json-stringify date format x 1,674,498 ops/sec ±0.12% (99 runs sampled)
25
+ FJS creation x 8,443 ops/sec ±1.01% (90 runs sampled)
26
+ CJS creation x 183,219 ops/sec ±0.13% (96 runs sampled)
27
+ AJV Serialize creation x 83,541,848 ops/sec ±0.24% (98 runs sampled)
28
+ JSON.stringify array x 5,363 ops/sec ±0.11% (100 runs sampled)
29
+ fast-json-stringify array x 6,747 ops/sec ±0.13% (98 runs sampled)
30
+ compile-json-stringify array x 7,121 ops/sec ±0.42% (98 runs sampled)
31
+ AJV Serialize array x 7,533 ops/sec ±0.13% (98 runs sampled)
32
+ JSON.stringify long string x 16,461 ops/sec ±0.12% (98 runs sampled)
33
+ fast-json-stringify long string x 16,443 ops/sec ±0.37% (99 runs sampled)
34
+ compile-json-stringify long string x 16,458 ops/sec ±0.09% (98 runs sampled)
35
+ AJV Serialize long string x 21,433 ops/sec ±0.08% (95 runs sampled)
36
+ JSON.stringify short string x 12,035,664 ops/sec ±0.62% (96 runs sampled)
37
+ fast-json-stringify short string x 38,281,060 ops/sec ±0.24% (98 runs sampled)
38
+ compile-json-stringify short string x 32,388,037 ops/sec ±0.27% (97 runs sampled)
39
+ AJV Serialize short string x 32,288,612 ops/sec ±0.32% (95 runs sampled)
40
+ JSON.stringify obj x 3,068,185 ops/sec ±0.16% (98 runs sampled)
41
+ fast-json-stringify obj x 10,082,694 ops/sec ±0.10% (97 runs sampled)
42
+ compile-json-stringify obj x 17,037,963 ops/sec ±1.17% (97 runs sampled)
43
+ AJV Serialize obj x 9,660,041 ops/sec ±0.11% (97 runs sampled)
44
+ JSON stringify date x 1,084,008 ops/sec ±0.16% (98 runs sampled)
45
+ fast-json-stringify date format x 1,781,044 ops/sec ±0.48% (99 runs sampled)
46
+ compile-json-stringify date format x 1,086,187 ops/sec ±0.16% (99 runs sampled)
41
47
```
42
48
43
49
#### Table of contents:
0 commit comments