-
-
Save michalmuskala/00e615f5de4305027abecffed45af07b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operating System: macOS | |
CPU Information: Apple M1 Max | |
Number of Available Cores: 10 | |
Available memory: 32 GB | |
Elixir 1.16.0 | |
Erlang 27 | |
JIT enabled: true | |
Benchmark suite executing with the following configuration: | |
warmup: 1 s | |
time: 10 s | |
memory time: 10 ms | |
reduction time: 0 ns | |
parallel: 1 | |
inputs: Blockchain, Giphy, GitHub, GovTrack, Issue 90, JSON Generator, JSON Generator (Pretty), Pokedex, UTF-8 escaped, UTF-8 unescaped | |
Estimated total run time: 9 min 10 s 500 ms | |
Benchmarking Jason with input Blockchain ... | |
Benchmarking Jason with input Giphy ... | |
Benchmarking Jason with input GitHub ... | |
Benchmarking Jason with input GovTrack ... | |
Benchmarking Jason with input Issue 90 ... | |
Benchmarking Jason with input JSON Generator ... | |
Benchmarking Jason with input JSON Generator (Pretty) ... | |
Benchmarking Jason with input Pokedex ... | |
Benchmarking Jason with input UTF-8 escaped ... | |
Benchmarking Jason with input UTF-8 unescaped ... | |
Benchmarking jiffy with input Blockchain ... | |
Benchmarking jiffy with input Giphy ... | |
Benchmarking jiffy with input GitHub ... | |
Benchmarking jiffy with input GovTrack ... | |
Benchmarking jiffy with input Issue 90 ... | |
Benchmarking jiffy with input JSON Generator ... | |
Benchmarking jiffy with input JSON Generator (Pretty) ... | |
Benchmarking jiffy with input Pokedex ... | |
Benchmarking jiffy with input UTF-8 escaped ... | |
Benchmarking jiffy with input UTF-8 unescaped ... | |
Benchmarking json with input Blockchain ... | |
Benchmarking json with input Giphy ... | |
Benchmarking json with input GitHub ... | |
Benchmarking json with input GovTrack ... | |
Benchmarking json with input Issue 90 ... | |
Benchmarking json with input JSON Generator ... | |
Benchmarking json with input JSON Generator (Pretty) ... | |
Benchmarking json with input Pokedex ... | |
Benchmarking json with input UTF-8 escaped ... | |
Benchmarking json with input UTF-8 unescaped ... | |
Benchmarking jsone with input Blockchain ... | |
Benchmarking jsone with input Giphy ... | |
Benchmarking jsone with input GitHub ... | |
Benchmarking jsone with input GovTrack ... | |
Benchmarking jsone with input Issue 90 ... | |
Benchmarking jsone with input JSON Generator ... | |
Benchmarking jsone with input JSON Generator (Pretty) ... | |
Benchmarking jsone with input Pokedex ... | |
Benchmarking jsone with input UTF-8 escaped ... | |
Benchmarking jsone with input UTF-8 unescaped ... | |
Benchmarking thoas with input Blockchain ... | |
Benchmarking thoas with input Giphy ... | |
Benchmarking thoas with input GitHub ... | |
Benchmarking thoas with input GovTrack ... | |
Benchmarking thoas with input Issue 90 ... | |
Benchmarking thoas with input JSON Generator ... | |
Benchmarking thoas with input JSON Generator (Pretty) ... | |
Benchmarking thoas with input Pokedex ... | |
Benchmarking thoas with input UTF-8 escaped ... | |
Benchmarking thoas with input UTF-8 unescaped ... | |
Calculating statistics... | |
Formatting results... | |
##### With input Blockchain ##### | |
Name ips average deviation median 99th % | |
json 15.37 K 65.07 μs ±27.14% 63.67 μs 75.50 μs | |
jiffy 12.62 K 79.23 μs ±24.31% 72.33 μs 117.50 μs | |
Jason 11.77 K 84.95 μs ±15.08% 84.88 μs 96.04 μs | |
thoas 9.47 K 105.56 μs ±18.26% 104.96 μs 117.50 μs | |
jsone 7.72 K 129.55 μs ±10.52% 128.29 μs 151.29 μs | |
Comparison: | |
json 15.37 K | |
jiffy 12.62 K - 1.22x slower +14.16 μs | |
Jason 11.77 K - 1.31x slower +19.87 μs | |
thoas 9.47 K - 1.62x slower +40.49 μs | |
jsone 7.72 K - 1.99x slower +64.48 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 35.95 KB | |
jiffy 1.46 KB - 0.04x memory usage -34.49219 KB | |
Jason 51.63 KB - 1.44x memory usage +15.67 KB | |
thoas 51.55 KB - 1.43x memory usage +15.60 KB | |
jsone 151.45 KB - 4.21x memory usage +115.50 KB | |
**All measurements for memory usage were the same** | |
##### With input Giphy ##### | |
Name ips average deviation median 99th % | |
jiffy 1251.50 0.80 ms ±46.59% 0.77 ms 1.06 ms | |
json 905.09 1.10 ms ±8.98% 1.10 ms 1.32 ms | |
Jason 884.51 1.13 ms ±18.10% 1.10 ms 1.34 ms | |
thoas 847.22 1.18 ms ±17.24% 1.15 ms 1.40 ms | |
jsone 588.88 1.70 ms ±6.99% 1.69 ms 1.86 ms | |
Comparison: | |
jiffy 1251.50 | |
json 905.09 - 1.38x slower +0.31 ms | |
Jason 884.51 - 1.41x slower +0.33 ms | |
thoas 847.22 - 1.48x slower +0.38 ms | |
jsone 588.88 - 2.13x slower +0.90 ms | |
Memory usage statistics: | |
Name Memory usage | |
jiffy 382.75 KB | |
json 422.61 KB - 1.10x memory usage +39.86 KB | |
Jason 690.55 KB - 1.80x memory usage +307.80 KB | |
thoas 690.48 KB - 1.80x memory usage +307.73 KB | |
jsone 2457.95 KB - 6.42x memory usage +2075.20 KB | |
**All measurements for memory usage were the same** | |
##### With input GitHub ##### | |
Name ips average deviation median 99th % | |
json 4.81 K 208.05 μs ±85.60% 206.29 μs 241.49 μs | |
jiffy 3.82 K 261.94 μs ±15.04% 276.12 μs 314.42 μs | |
Jason 3.67 K 272.14 μs ±10.28% 268.25 μs 296.91 μs | |
thoas 2.96 K 337.48 μs ±11.06% 334.42 μs 383.47 μs | |
jsone 2.02 K 496.02 μs ±18.51% 483.33 μs 654.37 μs | |
Comparison: | |
json 4.81 K | |
jiffy 3.82 K - 1.26x slower +53.89 μs | |
Jason 3.67 K - 1.31x slower +64.09 μs | |
thoas 2.96 K - 1.62x slower +129.43 μs | |
jsone 2.02 K - 2.38x slower +287.97 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 81.20 KB | |
jiffy 40.65 KB - 0.50x memory usage -40.54688 KB | |
Jason 122.80 KB - 1.51x memory usage +41.61 KB | |
thoas 122.73 KB - 1.51x memory usage +41.54 KB | |
jsone 425.52 KB - 5.24x memory usage +344.33 KB | |
**All measurements for memory usage were the same** | |
##### With input GovTrack ##### | |
Name ips average deviation median 99th % | |
json 38.38 26.05 ms ±10.60% 26.13 ms 37.09 ms | |
Jason 28.32 35.31 ms ±13.45% 33.88 ms 64.99 ms | |
jiffy 27.12 36.87 ms ±11.84% 35.62 ms 52.30 ms | |
thoas 26.28 38.05 ms ±4.89% 37.64 ms 47.61 ms | |
jsone 13.79 72.51 ms ±6.70% 71.73 ms 106.43 ms | |
Comparison: | |
json 38.38 | |
Jason 28.32 - 1.36x slower +9.25 ms | |
jiffy 27.12 - 1.42x slower +10.82 ms | |
thoas 26.28 - 1.46x slower +11.99 ms | |
jsone 13.79 - 2.78x slower +46.45 ms | |
Memory usage statistics: | |
Name Memory usage | |
json 7.08 MB | |
Jason 11.62 MB - 1.64x memory usage +4.54 MB | |
jiffy 23.84 MB - 3.37x memory usage +16.77 MB | |
thoas 11.69 MB - 1.65x memory usage +4.62 MB | |
jsone 38.04 MB - 5.38x memory usage +30.96 MB | |
**All measurements for memory usage were the same** | |
##### With input Issue 90 ##### | |
Name ips average deviation median 99th % | |
json 86.70 11.53 ms ±5.06% 11.45 ms 13.05 ms | |
jiffy 83.32 12.00 ms ±4.75% 11.85 ms 14.50 ms | |
Jason 46.65 21.44 ms ±9.77% 21.21 ms 32.25 ms | |
thoas 24.47 40.87 ms ±2.61% 40.60 ms 46.33 ms | |
jsone 16.50 60.62 ms ±6.15% 60.26 ms 80.13 ms | |
Comparison: | |
json 86.70 | |
jiffy 83.32 - 1.04x slower +0.47 ms | |
Jason 46.65 - 1.86x slower +9.90 ms | |
thoas 24.47 - 3.54x slower +29.33 ms | |
jsone 16.50 - 5.26x slower +49.08 ms | |
Memory usage statistics: | |
Name Memory usage | |
json 43.78 KB | |
jiffy 11.48 KB - 0.26x memory usage -32.30469 KB | |
Jason 974.76 KB - 22.26x memory usage +930.98 KB | |
thoas 974.69 KB - 22.26x memory usage +930.91 KB | |
jsone 5284.85 KB - 120.71x memory usage +5241.07 KB | |
**All measurements for memory usage were the same** | |
##### With input JSON Generator ##### | |
Name ips average deviation median 99th % | |
json 1.66 K 603.27 μs ±21.06% 595.16 μs 764.50 μs | |
Jason 1.33 K 751.15 μs ±33.54% 740.42 μs 945.08 μs | |
thoas 1.13 K 883.12 μs ±8.62% 882.95 μs 1018.29 μs | |
jiffy 1.10 K 906.90 μs ±32.87% 875.29 μs 1125.48 μs | |
jsone 0.79 K 1265.69 μs ±8.48% 1242.20 μs 1469.95 μs | |
Comparison: | |
json 1.66 K | |
Jason 1.33 K - 1.25x slower +147.89 μs | |
thoas 1.13 K - 1.46x slower +279.86 μs | |
jiffy 1.10 K - 1.50x slower +303.64 μs | |
jsone 0.79 K - 2.10x slower +662.43 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 329.83 KB | |
Jason 481.39 KB - 1.46x memory usage +151.56 KB | |
thoas 481.30 KB - 1.46x memory usage +151.47 KB | |
jiffy 294.59 KB - 0.89x memory usage -35.24219 KB | |
jsone 1476.02 KB - 4.48x memory usage +1146.20 KB | |
**All measurements for memory usage were the same** | |
##### With input JSON Generator (Pretty) ##### | |
Name ips average deviation median 99th % | |
json 1.36 K 733.46 μs ±21.45% 724.62 μs 886.84 μs | |
Jason 1.10 K 911.59 μs ±37.98% 891.27 μs 1125.11 μs | |
jiffy 1.08 K 925.96 μs ±39.92% 888.21 μs 1141.72 μs | |
thoas 0.97 K 1032.10 μs ±14.68% 1022.20 μs 1209.57 μs | |
jsone 0.70 K 1418.81 μs ±14.44% 1414.22 μs 1618.08 μs | |
Comparison: | |
json 1.36 K | |
Jason 1.10 K - 1.24x slower +178.13 μs | |
jiffy 1.08 K - 1.26x slower +192.50 μs | |
thoas 0.97 K - 1.41x slower +298.64 μs | |
jsone 0.70 K - 1.93x slower +685.36 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 329.83 KB | |
Jason 481.39 KB - 1.46x memory usage +151.56 KB | |
jiffy 535.97 KB - 1.62x memory usage +206.14 KB | |
thoas 481.30 KB - 1.46x memory usage +151.47 KB | |
jsone 1475.95 KB - 4.47x memory usage +1146.12 KB | |
**All measurements for memory usage were the same** | |
##### With input Pokedex ##### | |
Name ips average deviation median 99th % | |
json 2.74 K 365.16 μs ±19.92% 359.56 μs 429.01 μs | |
Jason 2.01 K 497.52 μs ±32.31% 475.96 μs 681.67 μs | |
thoas 1.91 K 522.48 μs ±34.61% 505.62 μs 688.94 μs | |
jiffy 1.33 K 753.53 μs ±29.83% 761.37 μs 909.91 μs | |
jsone 1.25 K 801.88 μs ±38.37% 762.41 μs 1099.52 μs | |
Comparison: | |
json 2.74 K | |
Jason 2.01 K - 1.36x slower +132.36 μs | |
thoas 1.91 K - 1.43x slower +157.33 μs | |
jiffy 1.33 K - 2.06x slower +388.37 μs | |
jsone 1.25 K - 2.20x slower +436.72 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 280.32 KB | |
Jason 390.09 KB - 1.39x memory usage +109.77 KB | |
thoas 390.02 KB - 1.39x memory usage +109.70 KB | |
jiffy 109.73 KB - 0.39x memory usage -170.59375 KB | |
jsone 1260.92 KB - 4.50x memory usage +980.60 KB | |
**All measurements for memory usage were the same** | |
##### With input UTF-8 escaped ##### | |
Name ips average deviation median 99th % | |
jiffy 23.23 K 43.05 μs ±12.16% 42.29 μs 50.79 μs | |
json 6.19 K 161.58 μs ±9.94% 160.88 μs 172.58 μs | |
jsone 3.37 K 297.16 μs ±19.41% 285.71 μs 493.79 μs | |
thoas 3.24 K 308.59 μs ±15.37% 338.96 μs 380.59 μs | |
Jason 3.14 K 318.02 μs ±45.72% 294.46 μs 530.08 μs | |
Comparison: | |
jiffy 23.23 K | |
json 6.19 K - 3.75x slower +118.53 μs | |
jsone 3.37 K - 6.90x slower +254.11 μs | |
thoas 3.24 K - 7.17x slower +265.53 μs | |
Jason 3.14 K - 7.39x slower +274.97 μs | |
Memory usage statistics: | |
Name Memory usage | |
jiffy 0.0859 KB | |
json 0.148 KB - 1.73x memory usage +0.0625 KB | |
jsone 741.71 KB - 8630.82x memory usage +741.63 KB | |
thoas 283.74 KB - 3301.73x memory usage +283.66 KB | |
Jason 283.81 KB - 3302.55x memory usage +283.73 KB | |
**All measurements for memory usage were the same** | |
##### With input UTF-8 unescaped ##### | |
Name ips average deviation median 99th % | |
jiffy 32.77 K 30.51 μs ±46.27% 29.71 μs 38.79 μs | |
json 15.06 K 66.40 μs ±8.62% 65.75 μs 71.83 μs | |
Jason 9.41 K 106.23 μs ±16.21% 102.17 μs 164.39 μs | |
thoas 9.19 K 108.79 μs ±14.68% 105.46 μs 160.83 μs | |
jsone 8.97 K 111.43 μs ±9.56% 109.13 μs 128.75 μs | |
Comparison: | |
jiffy 32.77 K | |
json 15.06 K - 2.18x slower +35.89 μs | |
Jason 9.41 K - 3.48x slower +75.72 μs | |
thoas 9.19 K - 3.57x slower +78.28 μs | |
jsone 8.97 K - 3.65x slower +80.91 μs | |
Memory usage statistics: | |
Name Memory usage | |
jiffy 0.0859 KB | |
json 0.148 KB - 1.73x memory usage +0.0625 KB | |
Jason 6.88 KB - 80.09x memory usage +6.80 KB | |
thoas 6.81 KB - 79.27x memory usage +6.73 KB | |
jsone 33.71 KB - 392.27x memory usage +33.63 KB | |
**All measurements for memory usage were the same** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operating System: macOS | |
CPU Information: Apple M1 Max | |
Number of Available Cores: 10 | |
Available memory: 32 GB | |
Elixir 1.16.0 | |
Erlang 27 | |
JIT enabled: true | |
Benchmark suite executing with the following configuration: | |
warmup: 1 s | |
time: 10 s | |
memory time: 10 ms | |
reduction time: 0 ns | |
parallel: 1 | |
inputs: Blockchain, Canada, Giphy, GitHub, GovTrack, Issue 90, JSON Generator, Pokedex, UTF-8 unescaped | |
Estimated total run time: 8 min 15 s 450 ms | |
Benchmarking Jason with input Blockchain ... | |
Benchmarking Jason with input Canada ... | |
Benchmarking Jason with input Giphy ... | |
Benchmarking Jason with input GitHub ... | |
Benchmarking Jason with input GovTrack ... | |
Benchmarking Jason with input Issue 90 ... | |
Benchmarking Jason with input JSON Generator ... | |
Benchmarking Jason with input Pokedex ... | |
Benchmarking Jason with input UTF-8 unescaped ... | |
Benchmarking jiffy with input Blockchain ... | |
Benchmarking jiffy with input Canada ... | |
Benchmarking jiffy with input Giphy ... | |
Benchmarking jiffy with input GitHub ... | |
Benchmarking jiffy with input GovTrack ... | |
Benchmarking jiffy with input Issue 90 ... | |
Benchmarking jiffy with input JSON Generator ... | |
Benchmarking jiffy with input Pokedex ... | |
Benchmarking jiffy with input UTF-8 unescaped ... | |
Benchmarking json with input Blockchain ... | |
Benchmarking json with input Canada ... | |
Benchmarking json with input Giphy ... | |
Benchmarking json with input GitHub ... | |
Benchmarking json with input GovTrack ... | |
Benchmarking json with input Issue 90 ... | |
Benchmarking json with input JSON Generator ... | |
Benchmarking json with input Pokedex ... | |
Benchmarking json with input UTF-8 unescaped ... | |
Benchmarking jsone with input Blockchain ... | |
Benchmarking jsone with input Canada ... | |
Benchmarking jsone with input Giphy ... | |
Benchmarking jsone with input GitHub ... | |
Benchmarking jsone with input GovTrack ... | |
Benchmarking jsone with input Issue 90 ... | |
Benchmarking jsone with input JSON Generator ... | |
Benchmarking jsone with input Pokedex ... | |
Benchmarking jsone with input UTF-8 unescaped ... | |
Benchmarking thoas with input Blockchain ... | |
Benchmarking thoas with input Canada ... | |
Benchmarking thoas with input Giphy ... | |
Benchmarking thoas with input GitHub ... | |
Benchmarking thoas with input GovTrack ... | |
Benchmarking thoas with input Issue 90 ... | |
Benchmarking thoas with input JSON Generator ... | |
Benchmarking thoas with input Pokedex ... | |
Benchmarking thoas with input UTF-8 unescaped ... | |
Calculating statistics... | |
Formatting results... | |
##### With input Blockchain ##### | |
Name ips average deviation median 99th % | |
json 41.48 K 24.11 μs ±233.59% 22.42 μs 48.13 μs | |
jiffy 22.82 K 43.83 μs ±22.51% 43.04 μs 54.21 μs | |
Jason 21.88 K 45.70 μs ±14.57% 42.54 μs 56.42 μs | |
jsone 13.52 K 73.95 μs ±13.12% 71.75 μs 122.64 μs | |
thoas 9.56 K 104.62 μs ±18.00% 103.63 μs 123.79 μs | |
Comparison: | |
json 41.48 K | |
jiffy 22.82 K - 1.82x slower +19.72 μs | |
Jason 21.88 K - 1.90x slower +21.59 μs | |
jsone 13.52 K - 3.07x slower +49.84 μs | |
thoas 9.56 K - 4.34x slower +80.51 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 82.66 KB | |
jiffy 7.79 KB - 0.09x memory usage -74.87500 KB | |
Jason 78.91 KB - 0.95x memory usage -3.75781 KB | |
jsone 179.03 KB - 2.17x memory usage +96.37 KB | |
thoas 89.50 KB - 1.08x memory usage +6.84 KB | |
**All measurements for memory usage were the same** | |
##### With input Canada ##### | |
Name ips average deviation median 99th % | |
json 164.04 6.10 ms ±8.52% 5.98 ms 7.05 ms | |
Jason 143.72 6.96 ms ±20.75% 6.43 ms 11.06 ms | |
thoas 92.46 10.82 ms ±6.62% 10.72 ms 12.47 ms | |
jiffy 82.67 12.10 ms ±3.19% 11.95 ms 13.36 ms | |
jsone 15.08 66.30 ms ±3.12% 65.78 ms 79.50 ms | |
Comparison: | |
json 164.04 | |
Jason 143.72 - 1.14x slower +0.86 ms | |
thoas 92.46 - 1.77x slower +4.72 ms | |
jiffy 82.67 - 1.98x slower +6.00 ms | |
jsone 15.08 - 10.88x slower +60.21 ms | |
Memory usage statistics: | |
Name Memory usage | |
json 9.22 MB | |
Jason 9.22 MB - 1.00x memory usage -0.00014 MB | |
thoas 9.23 MB - 1.00x memory usage +0.00105 MB | |
jiffy 0.101 MB - 0.01x memory usage -9.12340 MB | |
jsone 24.22 MB - 2.63x memory usage +15.00 MB | |
**All measurements for memory usage were the same** | |
##### With input Giphy ##### | |
Name ips average deviation median 99th % | |
json 2.28 K 439.56 μs ±37.75% 396.46 μs 977.64 μs | |
jiffy 2.05 K 488.84 μs ±18.94% 452.21 μs 628.59 μs | |
Jason 1.25 K 802.81 μs ±40.50% 830.79 μs 1114.44 μs | |
thoas 0.95 K 1054.45 μs ±20.86% 1041.79 μs 1194.27 μs | |
jsone 0.60 K 1666.00 μs ±13.53% 1682.38 μs 2097.94 μs | |
Comparison: | |
json 2.28 K | |
jiffy 2.05 K - 1.11x slower +49.28 μs | |
Jason 1.25 K - 1.83x slower +363.25 μs | |
thoas 0.95 K - 2.40x slower +614.89 μs | |
jsone 0.60 K - 3.79x slower +1226.44 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 872.09 KB | |
jiffy 163.12 KB - 0.19x memory usage -708.96875 KB | |
Jason 861.52 KB - 0.99x memory usage -10.57031 KB | |
thoas 861.44 KB - 0.99x memory usage -10.64844 KB | |
jsone 2239.55 KB - 2.57x memory usage +1367.46 KB | |
**All measurements for memory usage were the same** | |
##### With input GitHub ##### | |
Name ips average deviation median 99th % | |
json 6.24 K 160.19 μs ±54.66% 154.38 μs 348.83 μs | |
jiffy 5.56 K 179.84 μs ±43.00% 166.58 μs 380.91 μs | |
Jason 4.16 K 240.51 μs ±33.29% 232.42 μs 383.93 μs | |
thoas 2.50 K 400.64 μs ±24.89% 394.56 μs 567.02 μs | |
jsone 1.92 K 519.52 μs ±13.60% 513.88 μs 646.49 μs | |
Comparison: | |
json 6.24 K | |
jiffy 5.56 K - 1.12x slower +19.65 μs | |
Jason 4.16 K - 1.50x slower +80.31 μs | |
thoas 2.50 K - 2.50x slower +240.44 μs | |
jsone 1.92 K - 3.24x slower +359.33 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 226.98 KB | |
jiffy 43.23 KB - 0.19x memory usage -183.75781 KB | |
Jason 221.14 KB - 0.97x memory usage -5.84375 KB | |
thoas 228.23 KB - 1.01x memory usage +1.25 KB | |
jsone 682.23 KB - 3.01x memory usage +455.25 KB | |
**All measurements for memory usage were the same** | |
##### With input GovTrack ##### | |
Name ips average deviation median 99th % | |
json 73.98 13.52 ms ±29.12% 13.84 ms 21.07 ms | |
jiffy 69.92 14.30 ms ±14.98% 12.71 ms 17.87 ms | |
Jason 32.36 30.90 ms ±22.15% 30.90 ms 43.34 ms | |
thoas 23.87 41.90 ms ±21.28% 41.48 ms 71.79 ms | |
jsone 15.52 64.45 ms ±4.93% 63.61 ms 82.76 ms | |
Comparison: | |
json 73.98 | |
jiffy 69.92 - 1.06x slower +0.79 ms | |
Jason 32.36 - 2.29x slower +17.39 ms | |
thoas 23.87 - 3.10x slower +28.38 ms | |
jsone 15.52 - 4.77x slower +50.94 ms | |
Memory usage statistics: | |
Name Memory usage | |
json 19.60 MB | |
jiffy 3.31 MB - 0.17x memory usage -16.29298 MB | |
Jason 18.90 MB - 0.96x memory usage -0.69771 MB | |
thoas 20.67 MB - 1.05x memory usage +1.07 MB | |
jsone 45.34 MB - 2.31x memory usage +25.74 MB | |
**All measurements for memory usage were the same** | |
##### With input Issue 90 ##### | |
Name ips average deviation median 99th % | |
json 91.31 10.95 ms ±2.63% 10.89 ms 11.87 ms | |
Jason 61.96 16.14 ms ±3.29% 16.13 ms 17.27 ms | |
jsone 41.19 24.28 ms ±1.62% 24.12 ms 25.61 ms | |
jiffy 38.71 25.83 ms ±1.50% 25.73 ms 27.43 ms | |
thoas 24.02 41.62 ms ±3.20% 41.38 ms 47.51 ms | |
Comparison: | |
json 91.31 | |
Jason 61.96 - 1.47x slower +5.19 ms | |
jsone 41.19 - 2.22x slower +13.32 ms | |
jiffy 38.71 - 2.36x slower +14.88 ms | |
thoas 24.02 - 3.80x slower +30.67 ms | |
Memory usage statistics: | |
Name Memory usage | |
json 63.79 KB | |
Jason 832.97 KB - 13.06x memory usage +769.18 KB | |
jsone 2705.70 KB - 42.42x memory usage +2641.91 KB | |
jiffy 12.80 KB - 0.20x memory usage -50.99219 KB | |
thoas 842.18 KB - 13.20x memory usage +778.39 KB | |
**All measurements for memory usage were the same** | |
##### With input JSON Generator ##### | |
Name ips average deviation median 99th % | |
json 2.31 K 432.24 μs ±43.63% 392.94 μs 740.61 μs | |
jiffy 2.08 K 479.90 μs ±12.20% 448.83 μs 607.91 μs | |
Jason 1.62 K 618.54 μs ±28.73% 624.29 μs 1184.10 μs | |
thoas 1.05 K 949.78 μs ±26.67% 1015.52 μs 1131.61 μs | |
jsone 0.80 K 1253.03 μs ±11.42% 1253.79 μs 1523.16 μs | |
Comparison: | |
json 2.31 K | |
jiffy 2.08 K - 1.11x slower +47.67 μs | |
Jason 1.62 K - 1.43x slower +186.31 μs | |
thoas 1.05 K - 2.20x slower +517.54 μs | |
jsone 0.80 K - 2.90x slower +820.79 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 785.94 KB | |
jiffy 109.13 KB - 0.14x memory usage -676.80469 KB | |
Jason 778.17 KB - 0.99x memory usage -7.76563 KB | |
thoas 769.46 KB - 0.98x memory usage -16.47656 KB | |
jsone 1713.74 KB - 2.18x memory usage +927.80 KB | |
**All measurements for memory usage were the same** | |
##### With input Pokedex ##### | |
Name ips average deviation median 99th % | |
json 4.70 K 212.93 μs ±15.21% 205.38 μs 339.45 μs | |
jiffy 3.50 K 285.59 μs ±8.65% 284.33 μs 325.18 μs | |
Jason 2.93 K 341.01 μs ±26.61% 313.79 μs 682.54 μs | |
jsone 1.56 K 642.68 μs ±12.42% 599.79 μs 856.48 μs | |
thoas 1.42 K 703.47 μs ±20.54% 703.13 μs 921.97 μs | |
Comparison: | |
json 4.70 K | |
jiffy 3.50 K - 1.34x slower +72.65 μs | |
Jason 2.93 K - 1.60x slower +128.08 μs | |
jsone 1.56 K - 3.02x slower +429.75 μs | |
thoas 1.42 K - 3.30x slower +490.54 μs | |
Memory usage statistics: | |
Name Memory usage | |
json 667.58 KB | |
jiffy 51.98 KB - 0.08x memory usage -615.59375 KB | |
Jason 658.96 KB - 0.99x memory usage -8.61719 KB | |
jsone 1492.05 KB - 2.24x memory usage +824.47 KB | |
thoas 671.20 KB - 1.01x memory usage +3.63 KB | |
**All measurements for memory usage were the same** | |
##### With input UTF-8 unescaped ##### | |
Name ips average deviation median 99th % | |
jiffy 19.37 K 51.62 μs ±12.48% 50.88 μs 61.54 μs | |
json 15.77 K 63.42 μs ±14.08% 62.46 μs 73.08 μs | |
Jason 11.71 K 85.36 μs ±15.01% 84.46 μs 94.17 μs | |
thoas 9.61 K 104.04 μs ±12.31% 101.38 μs 142.33 μs | |
jsone 8.44 K 118.46 μs ±15.28% 114.83 μs 203.03 μs | |
Comparison: | |
jiffy 19.37 K | |
json 15.77 K - 1.23x slower +11.80 μs | |
Jason 11.71 K - 1.65x slower +33.74 μs | |
thoas 9.61 K - 2.02x slower +52.41 μs | |
jsone 8.44 K - 2.29x slower +66.84 μs | |
Memory usage statistics: | |
Name Memory usage | |
jiffy 0.78 KB | |
json 0.102 KB - 0.13x memory usage -0.67969 KB | |
Jason 6.02 KB - 7.71x memory usage +5.24 KB | |
thoas 6.06 KB - 7.76x memory usage +5.28 KB | |
jsone 207.58 KB - 265.70x memory usage +206.80 KB | |
**All measurements for memory usage were the same** |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment