Skip to content

Instantly share code, notes, and snippets.

@devinus
Created Jun 25, 2021
Embed
What would you like to do?
Poison Benchmark Results 2021-06-25
Operating System: Linux
CPU Information: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
Number of Available Cores: 8
Available memory: 15.07 GB
Elixir 1.12.1
Erlang 24.0.2
Benchmark suite executing with the following configuration:
warmup: 1 s
time: 10 s
memory time: 1 s
parallel: 8
inputs: Benchee, Blockchain, GeoJSON, Giphy, GitHub, GovTrack, Issue 90, JSON Generator, JSON Generator (Pretty), Pokedex, Reddit, UTF-8 escaped, UTF-8 unescaped
Estimated total run time: 15.60 min
Benchmarking JSON with input Benchee...
Benchmarking JSON with input Blockchain...
Benchmarking JSON with input GeoJSON...
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 Reddit...
Benchmarking JSON with input UTF-8 escaped...
Benchmarking JSON with input UTF-8 unescaped...
Benchmarking JSX with input Benchee...
Benchmarking JSX with input Blockchain...
Benchmarking JSX with input GeoJSON...
Benchmarking JSX with input Giphy...
Benchmarking JSX with input GitHub...
Benchmarking JSX with input GovTrack...
Benchmarking JSX with input Issue 90...
Benchmarking JSX with input JSON Generator...
Benchmarking JSX with input JSON Generator (Pretty)...
Benchmarking JSX with input Pokedex...
Benchmarking JSX with input Reddit...
Benchmarking JSX with input UTF-8 escaped...
Benchmarking JSX with input UTF-8 unescaped...
Benchmarking Jason with input Benchee...
Benchmarking Jason with input Blockchain...
Benchmarking Jason with input GeoJSON...
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 Reddit...
Benchmarking Jason with input UTF-8 escaped...
Benchmarking Jason with input UTF-8 unescaped...
Benchmarking Poison with input Benchee...
Benchmarking Poison with input Blockchain...
Benchmarking Poison with input GeoJSON...
Benchmarking Poison with input Giphy...
Benchmarking Poison with input GitHub...
Benchmarking Poison with input GovTrack...
Benchmarking Poison with input Issue 90...
Benchmarking Poison with input JSON Generator...
Benchmarking Poison with input JSON Generator (Pretty)...
Benchmarking Poison with input Pokedex...
Benchmarking Poison with input Reddit...
Benchmarking Poison with input UTF-8 escaped...
Benchmarking Poison with input UTF-8 unescaped...
Benchmarking jiffy with input Benchee...
Benchmarking jiffy with input Blockchain...
Benchmarking jiffy with input GeoJSON...
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 Reddit...
Benchmarking jiffy with input UTF-8 escaped...
Benchmarking jiffy with input UTF-8 unescaped...
Benchmarking jsone with input Benchee...
Benchmarking jsone with input Blockchain...
Benchmarking jsone with input GeoJSON...
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 Reddit...
Benchmarking jsone with input UTF-8 escaped...
Benchmarking jsone with input UTF-8 unescaped...
##### With input Benchee #####
Name ips average deviation median 99th %
jiffy 46.90 21.32 ms ±16.57% 21.56 ms 31.34 ms
Poison 38.97 25.66 ms ±12.26% 25.40 ms 34.91 ms
jsone 24.97 40.05 ms ±13.25% 40.54 ms 51.59 ms
Jason 24.69 40.51 ms ±9.23% 40.31 ms 51.06 ms
JSX 8.08 123.76 ms ±5.21% 123.21 ms 139.50 ms
JSON 1.35 738.68 ms ±2.23% 738.63 ms 776.09 ms
Comparison:
jiffy 46.90
Poison 38.97 - 1.20x slower +4.34 ms
jsone 24.97 - 1.88x slower +18.72 ms
Jason 24.69 - 1.90x slower +19.18 ms
JSX 8.08 - 5.80x slower +102.44 ms
JSON 1.35 - 34.64x slower +717.36 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 10.93 ms 46.27 ms 3.72 K21.08 ms, 21.07 ms, 20.77
Poison 16.37 ms 42.75 ms 3.10 K None
jsone 23.37 ms 60.59 ms 1.99 K None
Jason 25.93 ms 55.61 ms 1.97 K None
JSX 106.91 ms 143.06 ms 648 None
JSON 705.18 ms 776.41 ms 112 None
Memory usage statistics:
Name Memory usage
jiffy 2.63 MB
Poison 6.83 MB - 2.60x memory usage +4.20 MB
jsone 8.68 MB - 3.30x memory usage +6.05 MB
Jason 5.89 MB - 2.24x memory usage +3.26 MB
JSX 37.33 MB - 14.21x memory usage +34.71 MB
JSON 211.57 MB - 80.52x memory usage +208.94 MB
**All measurements for memory usage were the same**
##### With input Blockchain #####
Name ips average deviation median 99th %
Poison 2.99 K 334.45 μs ±27.01% 301.93 μs 627.60 μs
Jason 2.78 K 360.03 μs ±22.52% 326.64 μs 576.90 μs
jiffy 2.55 K 392.57 μs ±32.32% 355.94 μs 675.37 μs
jsone 1.65 K 604.96 μs ±28.04% 565.74 μs 1230.00 μs
JSX 1.04 K 962.65 μs ±10.32% 956.23 μs 1165.35 μs
JSON 0.39 K 2576.22 μs ±4.67% 2575.82 μs 2901.00 μs
Comparison:
Poison 2.99 K
Jason 2.78 K - 1.08x slower +25.58 μs
jiffy 2.55 K - 1.17x slower +58.12 μs
jsone 1.65 K - 1.81x slower +270.51 μs
JSX 1.04 K - 2.88x slower +628.20 μs
JSON 0.39 K - 7.70x slower +2241.77 μs
Extended statistics:
Name minimum maximum sample size mode
Poison 134.72 μs 4458.15 μs 236.63 K 268.94 μs
Jason 157.23 μs 1014.49 μs 220.17 K288.05 μs, 287.87 μs, 287
jiffy 185.29 μs 8537.51 μs 200.97 K 316.69 μs, 317.23 μs
jsone 192.82 μs 7671.86 μs 131.27 K 560.65 μs, 574.49 μs
JSX 517.16 μs 3531.31 μs 82.69 K982.20 μs, 1047.20 μs, 10
JSON 2114.40 μs 3381.41 μs 30.99 K 2524.92 μs
Memory usage statistics:
Name Memory usage
Poison 55.32 KB
Jason 51.68 KB - 0.93x memory usage -3.64063 KB
jiffy 1.47 KB - 0.03x memory usage -53.85156 KB
jsone 151.35 KB - 2.74x memory usage +96.03 KB
JSX 315.70 KB - 5.71x memory usage +260.38 KB
JSON 1098.98 KB - 19.87x memory usage +1043.66 KB
**All measurements for memory usage were the same**
##### With input GeoJSON #####
Name ips average deviation median 99th %
jiffy 4.67 213.97 ms ±6.02% 213.63 ms 246.05 ms
Poison 4.15 241.02 ms ±7.61% 240.63 ms 278.65 ms
jsone 3.57 279.74 ms ±4.75% 279.66 ms 316.89 ms
Jason 2.76 362.35 ms ±5.41% 362.39 ms 401.72 ms
JSX 1.09 917.90 ms ±2.37% 917.23 ms 993.49 ms
JSON 0.176 5678.49 ms ±0.98% 5675.97 ms 5794.03 ms
Comparison:
jiffy 4.67
Poison 4.15 - 1.13x slower +27.05 ms
jsone 3.57 - 1.31x slower +65.76 ms
Jason 2.76 - 1.69x slower +148.38 ms
JSX 1.09 - 4.29x slower +703.93 ms
JSON 0.176 - 26.54x slower +5464.52 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 175.96 ms 249.74 ms 376 None
Poison 204.99 ms 283.52 ms 336 None
jsone 248.76 ms 322.88 ms 288 None
Jason 321.42 ms 403.86 ms 224 None
JSX 859.50 ms 993.49 ms 88 None
JSON 5563.21 ms 5794.03 ms 16 None
Memory usage statistics:
Name Memory usage
jiffy 20.57 MB
Poison 41.15 MB - 2.00x memory usage +20.57 MB
jsone 49.34 MB - 2.40x memory usage +28.77 MB
Jason 31.06 MB - 1.51x memory usage +10.48 MB
JSX 151.55 MB - 7.37x memory usage +130.97 MB
JSON 1149.27 MB - 55.86x memory usage +1128.70 MB
**All measurements for memory usage were the same**
##### With input Giphy #####
Name ips average deviation median 99th %
jiffy 269.30 3.71 ms ±20.38% 3.69 ms 5.78 ms
Jason 230.86 4.33 ms ±7.01% 4.27 ms 5.28 ms
Poison 217.65 4.59 ms ±5.65% 4.62 ms 5.24 ms
jsone 98.57 10.15 ms ±3.40% 10.11 ms 11.40 ms
JSX 80.57 12.41 ms ±4.34% 12.42 ms 13.64 ms
JSON 36.16 27.65 ms ±3.96% 27.65 ms 30.38 ms
Comparison:
jiffy 269.30
Jason 230.86 - 1.17x slower +0.62 ms
Poison 217.65 - 1.24x slower +0.88 ms
jsone 98.57 - 2.73x slower +6.43 ms
JSX 80.57 - 3.34x slower +8.70 ms
JSON 36.16 - 7.45x slower +23.94 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 1.51 ms 8.72 ms 21.40 K4.10 ms, 3.80 ms, 3.39 ms
Jason 3.47 ms 6.89 ms 18.34 K 4.41 ms
Poison 3.87 ms 6.64 ms 17.29 K 4.62 ms
jsone 8.96 ms 12.32 ms 7.87 K9.99 ms, 9.95 ms, 9.79 ms
JSX 11.19 ms 20.78 ms 6.43 K11.91 ms, 11.77 ms, 12.12
JSON 24.95 ms 31.08 ms 2.89 K28.46 ms, 27.21 ms, 26.43
Memory usage statistics:
Name Memory usage
jiffy 0.40 MB
Jason 0.67 MB - 1.67x memory usage +0.27 MB
Poison 0.72 MB - 1.79x memory usage +0.31 MB
jsone 2.40 MB - 5.99x memory usage +2.00 MB
JSX 3.77 MB - 9.40x memory usage +3.37 MB
JSON 9.03 MB - 22.53x memory usage +8.63 MB
**All measurements for memory usage were the same**
##### With input GitHub #####
Name ips average deviation median 99th %
Jason 1013.80 0.99 ms ±7.05% 0.98 ms 1.20 ms
Poison 1007.42 0.99 ms ±7.21% 0.99 ms 1.22 ms
jiffy 892.75 1.12 ms ±21.30% 1.11 ms 1.72 ms
jsone 596.20 1.68 ms ±7.03% 1.69 ms 1.92 ms
JSX 276.76 3.61 ms ±3.63% 3.64 ms 3.86 ms
JSON 145.01 6.90 ms ±2.40% 6.88 ms 7.43 ms
Comparison:
Jason 1013.80
Poison 1007.42 - 1.01x slower +0.00625 ms
jiffy 892.75 - 1.14x slower +0.134 ms
jsone 596.20 - 1.70x slower +0.69 ms
JSX 276.76 - 3.66x slower +2.63 ms
JSON 145.01 - 6.99x slower +5.91 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 0.50 ms 2.63 ms 80.55 K0.98 ms, 0.94 ms, 1.01 ms
Poison 0.76 ms 3.47 ms 80.01 K 0.98 ms
jiffy 0.49 ms 8.18 ms 70.98 K 1.19 ms, 1.11 ms
jsone 1.07 ms 7.65 ms 47.47 K1.77 ms, 1.82 ms, 1.62 ms
JSX 3.20 ms 4.32 ms 22.06 K3.74 ms, 3.66 ms, 3.67 ms
JSON 6.41 ms 8.28 ms 11.58 K6.78 ms, 7.00 ms, 6.82 ms
Memory usage statistics:
Name average deviation median 99th %
Jason 123.14 KB ±0.00% 123.14 KB 123.14 KB
Poison 131.04 KB ±0.00% 131.04 KB 131.04 KB
jiffy 47.59 KB ±0.00% 47.59 KB 47.59 KB
jsone 425.45 KB ±0.00% 425.45 KB 425.45 KB
JSX 1217.23 KB ±0.00% 1217.23 KB 1217.23 KB
JSON 3014.53 KB ±0.00% 3014.53 KB 3014.53 KB
Comparison:
Jason 123.14 KB
Poison 131.04 KB - 1.06x memory usage +7.90 KB
jiffy 47.59 KB - 0.39x memory usage -75.54688 KB
jsone 425.45 KB - 3.45x memory usage +302.30 KB
JSX 1217.23 KB - 9.88x memory usage +1094.09 KB
JSON 3014.53 KB - 24.48x memory usage +2891.39 KB
Extended statistics:
Name minimum maximum sample size mode
Jason 123.14 KB 123.14 KB 6.53 K 123.14 KB
Poison 131.04 KB 131.04 KB 6.51 K 131.04 KB
jiffy 47.59 KB 47.59 KB 4.64 K 47.59 KB
jsone 425.45 KB 425.45 KB 4.59 K 425.45 KB
JSX 1217.23 KB 1217.23 KB 2.23 K 1217.23 KB
JSON 3014.50 KB 3014.58 KB 1.18 K 3014.53 KB
##### With input GovTrack #####
Name ips average deviation median 99th %
Jason 7.52 132.95 ms ±6.70% 132.55 ms 155.68 ms
Poison 7.38 135.48 ms ±6.20% 135.31 ms 154.61 ms
jiffy 6.11 163.65 ms ±5.63% 163.48 ms 189.73 ms
jsone 3.71 269.41 ms ±4.04% 269.97 ms 300.75 ms
JSX 2.00 499.49 ms ±3.13% 498.79 ms 537.46 ms
JSON 0.75 1333.40 ms ±2.49% 1333.17 ms 1431.82 ms
Comparison:
Jason 7.52
Poison 7.38 - 1.02x slower +2.54 ms
jiffy 6.11 - 1.23x slower +30.70 ms
jsone 3.71 - 2.03x slower +136.46 ms
JSX 2.00 - 3.76x slower +366.55 ms
JSON 0.75 - 10.03x slower +1200.45 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 105.75 ms 165.17 ms 603 None
Poison 114.60 ms 170.87 ms 590 None
jiffy 141.64 ms 195.05 ms 488 None
jsone 240.73 ms 304.84 ms 296 None
JSX 461.92 ms 540.12 ms 160 None
JSON 1254.87 ms 1431.82 ms 64 None
Memory usage statistics:
Name average deviation median 99th %
Jason 11.68 MB ±0.02% 11.68 MB 11.68 MB
Poison 12.63 MB ±0.09% 12.63 MB 12.63 MB
jiffy 25.31 MB ±0.00% 25.31 MB 25.31 MB
jsone 38.05 MB ±0.00% 38.05 MB 38.05 MB
JSX 83.63 MB ±0.00% 83.63 MB 83.63 MB
JSON 269.12 MB ±0.00% 269.12 MB 269.12 MB
Comparison:
Jason 11.68 MB
Poison 12.63 MB - 1.08x memory usage +0.95 MB
jiffy 25.31 MB - 2.17x memory usage +13.63 MB
jsone 38.05 MB - 3.26x memory usage +26.37 MB
JSX 83.63 MB - 7.16x memory usage +71.95 MB
JSON 269.12 MB - 23.03x memory usage +257.43 MB
Extended statistics:
Name minimum maximum sample size mode
Jason 11.67 MB 11.68 MB 53 11.68 MB
Poison 12.58 MB 12.63 MB 56 12.63 MB
jiffy 25.31 MB 25.31 MB 48 25.31 MB
jsone 38.05 MB 38.05 MB 32 38.05 MB
JSX 83.63 MB 83.63 MB 21 83.63 MB
JSON 269.12 MB 269.12 MB 8 269.12 MB
##### With input Issue 90 #####
Name ips average deviation median 99th %
jiffy 32.03 31.22 ms ±1.55% 31.10 ms 33.79 ms
Jason 14.46 69.15 ms ±6.17% 69.21 ms 82.91 ms
Poison 12.24 81.67 ms ±4.33% 81.37 ms 98.31 ms
jsone 9.25 108.06 ms ±0.91% 107.91 ms 111.30 ms
JSX 5.89 169.77 ms ±2.72% 168.86 ms 185.52 ms
JSON 0.84 1195.24 ms ±6.66% 1207.46 ms 1338.76 ms
Comparison:
jiffy 32.03
Jason 14.46 - 2.21x slower +37.93 ms
Poison 12.24 - 2.62x slower +50.45 ms
jsone 9.25 - 3.46x slower +76.83 ms
JSX 5.89 - 5.44x slower +138.54 ms
JSON 0.84 - 38.28x slower +1164.02 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 30.08 ms 36.02 ms 2.44 K31.28 ms, 30.91 ms, 30.97
Jason 37.15 ms 90.38 ms 1.07 K None
Poison 64.14 ms 102.36 ms 921 None
jsone 105.69 ms 116.33 ms 733 None
JSX 157.98 ms 188.63 ms 462 None
JSON 1008.27 ms 1338.76 ms 72 None
Memory usage statistics:
Name Memory usage
jiffy 0.0114 MB
Jason 1.06 MB - 93.06x memory usage +1.05 MB
Poison 1.07 MB - 93.74x memory usage +1.05 MB
jsone 5.16 MB - 453.69x memory usage +5.15 MB
JSX 4.26 MB - 374.91x memory usage +4.25 MB
JSON 241.66 MB - 21243.67x memory usage +241.64 MB
**All measurements for memory usage were the same**
##### With input JSON Generator #####
Name ips average deviation median 99th %
Poison 316.31 3.16 ms ±8.02% 3.10 ms 3.93 ms
Jason 314.67 3.18 ms ±8.48% 3.10 ms 3.89 ms
jiffy 257.61 3.88 ms ±22.93% 3.87 ms 6.22 ms
jsone 172.58 5.79 ms ±6.17% 5.71 ms 7.02 ms
JSX 97.43 10.26 ms ±3.29% 10.16 ms 11.07 ms
JSON 28.96 34.53 ms ±3.73% 34.49 ms 37.41 ms
Comparison:
Poison 316.31
Jason 314.67 - 1.01x slower +0.0165 ms
jiffy 257.61 - 1.23x slower +0.72 ms
jsone 172.58 - 1.83x slower +2.63 ms
JSX 97.43 - 3.25x slower +7.10 ms
JSON 28.96 - 10.92x slower +31.37 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 1.66 ms 10.51 ms 25.20 K3.06 ms, 3.07 ms, 3.03 ms
Jason 2.51 ms 4.34 ms 25.07 K3.05 ms, 3.05 ms, 3.08 ms
jiffy 1.65 ms 8.45 ms 20.24 K4.25 ms, 3.57 ms, 4.25 ms
jsone 4.93 ms 7.68 ms 13.78 K5.62 ms, 5.59 ms, 5.83 ms
JSX 8.46 ms 14.02 ms 7.78 K 9.89 ms
JSON 31.17 ms 43.43 ms 2.32 K 34.20 ms
Memory usage statistics:
Name Memory usage
Poison 0.51 MB
Jason 0.47 MB - 0.92x memory usage -0.04227 MB
jiffy 0.31 MB - 0.60x memory usage -0.20703 MB
jsone 1.44 MB - 2.81x memory usage +0.93 MB
JSX 3.14 MB - 6.12x memory usage +2.62 MB
JSON 11.63 MB - 22.69x memory usage +11.11 MB
**All measurements for memory usage were the same**
##### With input JSON Generator (Pretty) #####
Name ips average deviation median 99th %
Jason 278.74 3.59 ms ±5.21% 3.56 ms 4.23 ms
Poison 271.71 3.68 ms ±7.46% 3.60 ms 4.42 ms
jiffy 207.82 4.81 ms ±21.91% 4.72 ms 7.52 ms
jsone 159.26 6.28 ms ±5.46% 6.21 ms 7.50 ms
JSX 91.92 10.88 ms ±3.78% 10.78 ms 11.82 ms
JSON 28.70 34.85 ms ±3.41% 34.84 ms 37.34 ms
Comparison:
Jason 278.74
Poison 271.71 - 1.03x slower +0.0928 ms
jiffy 207.82 - 1.34x slower +1.22 ms
jsone 159.26 - 1.75x slower +2.69 ms
JSX 91.92 - 3.03x slower +7.29 ms
JSON 28.70 - 9.71x slower +31.26 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 3.06 ms 4.47 ms 22.20 K3.67 ms, 3.54 ms, 3.58 ms
Poison 3.14 ms 4.81 ms 21.63 K3.60 ms, 3.62 ms, 3.59 ms
jiffy 2.18 ms 17.21 ms 15.90 K5.87 ms, 3.89 ms, 4.83 ms
jsone 5.35 ms 8.28 ms 12.71 K 6.16 ms, 6.20 ms
JSX 6.62 ms 21.32 ms 7.34 K10.96 ms, 10.66 ms, 10.50
JSON 32.18 ms 39.75 ms 2.30 K 35.46 ms
Memory usage statistics:
Name Memory usage
Jason 0.47 MB
Poison 0.51 MB - 1.08x memory usage +0.0385 MB
jiffy 0.55 MB - 1.17x memory usage +0.0814 MB
jsone 1.44 MB - 3.07x memory usage +0.97 MB
JSX 3.14 MB - 6.67x memory usage +2.67 MB
JSON 11.62 MB - 24.72x memory usage +11.15 MB
**All measurements for memory usage were the same**
##### With input Pokedex #####
Name ips average deviation median 99th %
Poison 519.73 1.92 ms ±10.98% 1.88 ms 2.60 ms
Jason 480.74 2.08 ms ±14.08% 2.01 ms 2.83 ms
jiffy 281.84 3.55 ms ±28.34% 3.40 ms 6.25 ms
jsone 243.59 4.11 ms ±3.79% 4.11 ms 4.54 ms
JSX 134.06 7.46 ms ±2.73% 7.42 ms 8.13 ms
JSON 40.63 24.61 ms ±3.66% 24.54 ms 26.77 ms
Comparison:
Poison 519.73
Jason 480.74 - 1.08x slower +0.156 ms
jiffy 281.84 - 1.84x slower +1.62 ms
jsone 243.59 - 2.13x slower +2.18 ms
JSX 134.06 - 3.88x slower +5.54 ms
JSON 40.63 - 12.79x slower +22.69 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 1.48 ms 3.01 ms 41.38 K1.75 ms, 1.79 ms, 1.66 ms
Jason 1.02 ms 7.87 ms 38.30 K1.98 ms, 2.02 ms, 1.85 ms
jiffy 1.57 ms 7.77 ms 22.48 K 3.19 ms
jsone 3.58 ms 5.49 ms 19.45 K4.17 ms, 4.20 ms, 4.03 ms
JSX 7.10 ms 9.19 ms 10.71 K7.36 ms, 7.41 ms, 7.54 ms
JSON 22.16 ms 27.98 ms 3.25 K24.87 ms, 24.61 ms, 23.96
Memory usage statistics:
Name Memory usage
Poison 0.42 MB
Jason 0.38 MB - 0.90x memory usage -0.04229 MB
jiffy 0.108 MB - 0.25x memory usage -0.31573 MB
jsone 1.23 MB - 2.91x memory usage +0.81 MB
JSX 2.59 MB - 6.12x memory usage +2.17 MB
JSON 8.16 MB - 19.27x memory usage +7.73 MB
**All measurements for memory usage were the same**
##### With input Reddit #####
Name ips average deviation median 99th %
Poison 265.82 3.76 ms ±6.44% 3.72 ms 4.52 ms
Jason 245.56 4.07 ms ±8.87% 3.98 ms 4.86 ms
jiffy 209.73 4.77 ms ±31.65% 4.51 ms 8.42 ms
jsone 142.27 7.03 ms ±3.51% 7.06 ms 7.65 ms
JSX 78.65 12.71 ms ±2.10% 12.70 ms 13.41 ms
JSON 30.13 33.19 ms ±4.13% 33.10 ms 36.59 ms
Comparison:
Poison 265.82
Jason 245.56 - 1.08x slower +0.31 ms
jiffy 209.73 - 1.27x slower +1.01 ms
jsone 142.27 - 1.87x slower +3.27 ms
JSX 78.65 - 3.38x slower +8.95 ms
JSON 30.13 - 8.82x slower +29.42 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 2.92 ms 4.90 ms 21.16 K 3.73 ms
Jason 3.04 ms 11.63 ms 19.56 K3.82 ms, 3.79 ms, 3.69 ms
jiffy 2.02 ms 12.67 ms 16.69 K4.53 ms, 3.84 ms, 3.65 ms
jsone 5.98 ms 8.82 ms 11.36 K7.12 ms, 6.99 ms, 7.42 ms
JSX 10.31 ms 16.90 ms 6.28 K12.51 ms, 12.79 ms, 12.68
JSON 30.33 ms 43.94 ms 2.41 K None
Memory usage statistics:
Name average deviation median 99th %
Poison 0.57 MB ±0.00% 0.57 MB 0.57 MB
Jason 0.53 MB ±1.16% 0.53 MB 0.54 MB
jiffy 0.52 MB ±0.00% 0.52 MB 0.52 MB
jsone 1.57 MB ±0.00% 1.57 MB 1.57 MB
JSX 3.45 MB ±0.00% 3.45 MB 3.45 MB
JSON 10.43 MB ±0.00% 10.43 MB 10.43 MB
Comparison:
Poison 0.57 MB
Jason 0.53 MB - 0.93x memory usage -0.03926 MB
jiffy 0.52 MB - 0.90x memory usage -0.05623 MB
jsone 1.57 MB - 2.74x memory usage +0.99 MB
JSX 3.45 MB - 6.03x memory usage +2.87 MB
JSON 10.43 MB - 18.24x memory usage +9.86 MB
Extended statistics:
Name minimum maximum sample size mode
Poison 0.57 MB 0.57 MB 1.98 K 0.57 MB
Jason 0.53 MB 0.54 MB 1.95 K 0.53 MB
jiffy 0.52 MB 0.52 MB 1.46 K 0.52 MB
jsone 1.57 MB 1.57 MB 1.45 K 1.57 MB
JSX 3.45 MB 3.45 MB 774 3.45 MB
JSON 10.43 MB 10.43 MB 360 10.43 MB
##### With input UTF-8 escaped #####
Name ips average deviation median 99th %
jiffy 5338.18 0.187 ms ±20.64% 0.183 ms 0.25 ms
Jason 1003.83 1.00 ms ±31.17% 0.93 ms 1.76 ms
Poison 865.07 1.16 ms ±17.78% 1.18 ms 1.78 ms
JSX 519.13 1.93 ms ±16.89% 1.80 ms 2.86 ms
jsone 498.52 2.01 ms ±14.39% 1.97 ms 2.63 ms
JSON 354.49 2.82 ms ±18.10% 2.79 ms 4.30 ms
Comparison:
jiffy 5338.18
Jason 1003.83 - 5.32x slower +0.81 ms
Poison 865.07 - 6.17x slower +0.97 ms
JSX 519.13 - 10.28x slower +1.74 ms
jsone 498.52 - 10.71x slower +1.82 ms
JSON 354.49 - 15.06x slower +2.63 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.0984 ms 5.62 ms 409.90 K 0.183 ms
Jason 0.43 ms 9.53 ms 79.81 K 0.75 ms
Poison 0.40 ms 3.34 ms 68.87 K1.04 ms, 1.16 ms, 1.19 ms
JSX 1.20 ms 3.57 ms 41.38 K1.77 ms, 1.81 ms, 1.78 ms
jsone 1.09 ms 10.71 ms 39.82 K1.92 ms, 1.66 ms, 1.65 ms
JSON 1.78 ms 11.47 ms 28.30 K2.73 ms, 2.83 ms, 2.94 ms
Memory usage statistics:
Name average deviation median 99th %
jiffy 0.0703 KB ±0.00% 0.0703 KB 0.0703 KB
Jason 283.85 KB ±0.00% 283.85 KB 283.85 KB
Poison 253.72 KB ±2.11% 254.58 KB 254.67 KB
JSX 736.73 KB ±0.00% 736.73 KB 736.73 KB
jsone 741.63 KB ±0.00% 741.63 KB 741.63 KB
JSON 1092.36 KB ±0.00% 1092.36 KB 1092.36 KB
Comparison:
jiffy 0.0703 KB
Jason 283.85 KB - 4037.00x memory usage +283.78 KB
Poison 253.72 KB - 3608.44x memory usage +253.65 KB
JSX 736.73 KB - 10477.89x memory usage +736.66 KB
jsone 741.63 KB - 10547.67x memory usage +741.56 KB
JSON 1092.36 KB - 15535.78x memory usage +1092.29 KB
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.0703 KB 0.0703 KB 34.89 K 0.0703 KB
Jason 283.85 KB 283.85 KB 5.81 K 283.85 KB
Poison 220.32 KB 254.67 KB 6.13 K 254.58 KB
JSX 736.73 KB 736.73 KB 3.55 K 736.73 KB
jsone 741.63 KB 741.63 KB 3.35 K 741.63 KB
JSON 1092.36 KB 1092.36 KB 2.63 K 1092.36 KB
##### With input UTF-8 unescaped #####
Name ips average deviation median 99th %
jiffy 8.89 K 112.55 μs ±34.05% 110.08 μs 151.27 μs
Poison 5.93 K 168.77 μs ±98.22% 146.84 μs 605.63 μs
Jason 5.65 K 177.07 μs ±85.35% 157.00 μs 546.72 μs
jsone 4.02 K 248.65 μs ±32.44% 214.25 μs 521.29 μs
JSX 3.51 K 284.70 μs ±27.54% 252.61 μs 546.44 μs
JSON 1.91 K 522.37 μs ±44.60% 473.19 μs 1219.26 μs
Comparison:
jiffy 8.89 K
Poison 5.93 K - 1.50x slower +56.22 μs
Jason 5.65 K - 1.57x slower +64.52 μs
jsone 4.02 K - 2.21x slower +136.10 μs
JSX 3.51 K - 2.53x slower +172.15 μs
JSON 1.91 K - 4.64x slower +409.82 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 62.77 μs 8585.45 μs 677.54 K 110.39 μs
Poison 81.29 μs 9090.01 μs 464.26 K 145.02 μs
Jason 85.02 μs 8284.53 μs 441.58 K 154.70 μs
jsone 113.75 μs 953.18 μs 318.03 K 195.41 μs
JSX 171.95 μs 955.65 μs 277.93 K235.13 μs, 235.41 μs, 235
JSON 178.85 μs 8210.71 μs 152.00 K 302.23 μs, 301.63 μs
Memory usage statistics:
Name Memory usage
jiffy 0.0703 KB
Poison 6.84 KB - 97.33x memory usage +6.77 KB
Jason 6.92 KB - 98.44x memory usage +6.85 KB
jsone 33.63 KB - 478.33x memory usage +33.56 KB
JSX 42.38 KB - 602.67x memory usage +42.30 KB
JSON 152.68 KB - 2171.44x memory usage +152.61 KB
**All measurements for memory usage were the same**
Operating System: Linux
CPU Information: Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
Number of Available Cores: 8
Available memory: 15.07 GB
Elixir 1.12.1
Erlang 24.0.2
Benchmark suite executing with the following configuration:
warmup: 1 s
time: 10 s
memory time: 1 s
parallel: 8
inputs: Benchee, Blockchain, GeoJSON, Giphy, GitHub, GovTrack, Issue 90, JSON Generator, Pokedex, Reddit, UTF-8 escaped, UTF-8 unescaped
Estimated total run time: 14.40 min
Benchmarking JSON with input Benchee...
Benchmarking JSON with input Blockchain...
Benchmarking JSON with input GeoJSON...
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 Reddit...
Benchmarking JSON with input UTF-8 escaped...
Benchmarking JSON with input UTF-8 unescaped...
Benchmarking JSX with input Benchee...
Benchmarking JSX with input Blockchain...
Benchmarking JSX with input GeoJSON...
Benchmarking JSX with input Giphy...
Benchmarking JSX with input GitHub...
Benchmarking JSX with input GovTrack...
Benchmarking JSX with input Issue 90...
Benchmarking JSX with input JSON Generator...
Benchmarking JSX with input Pokedex...
Benchmarking JSX with input Reddit...
Benchmarking JSX with input UTF-8 escaped...
Benchmarking JSX with input UTF-8 unescaped...
Benchmarking Jason with input Benchee...
Benchmarking Jason with input Blockchain...
Benchmarking Jason with input GeoJSON...
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 Reddit...
Benchmarking Jason with input UTF-8 escaped...
Benchmarking Jason with input UTF-8 unescaped...
Benchmarking Poison with input Benchee...
Benchmarking Poison with input Blockchain...
Benchmarking Poison with input GeoJSON...
Benchmarking Poison with input Giphy...
Benchmarking Poison with input GitHub...
Benchmarking Poison with input GovTrack...
Benchmarking Poison with input Issue 90...
Benchmarking Poison with input JSON Generator...
Benchmarking Poison with input Pokedex...
Benchmarking Poison with input Reddit...
Benchmarking Poison with input UTF-8 escaped...
Benchmarking Poison with input UTF-8 unescaped...
Benchmarking jiffy with input Benchee...
Benchmarking jiffy with input Blockchain...
Benchmarking jiffy with input GeoJSON...
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 Reddit...
Benchmarking jiffy with input UTF-8 escaped...
Benchmarking jiffy with input UTF-8 unescaped...
Benchmarking jsone with input Benchee...
Benchmarking jsone with input Blockchain...
Benchmarking jsone with input GeoJSON...
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 Reddit...
Benchmarking jsone with input UTF-8 escaped...
Benchmarking jsone with input UTF-8 unescaped...
##### With input Benchee #####
Name ips average deviation median 99th %
jiffy 75.36 13.27 ms ±16.79% 13.27 ms 16.04 ms
Jason 27.75 36.04 ms ±42.92% 36.34 ms 74.77 ms
Poison 23.87 41.89 ms ±42.82% 41.79 ms 82.92 ms
jsone 12.80 78.14 ms ±25.94% 79.59 ms 121.97 ms
JSON 8.44 118.48 ms ±92.88% 78.62 ms 473.12 ms
JSX 6.14 162.85 ms ±23.09% 158.99 ms 292.02 ms
Comparison:
jiffy 75.36
Jason 27.75 - 2.72x slower +22.77 ms
Poison 23.87 - 3.16x slower +28.62 ms
jsone 12.80 - 5.89x slower +64.87 ms
JSON 8.44 - 8.93x slower +105.21 ms
JSX 6.14 - 12.27x slower +149.58 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 6.19 ms 78.99 ms 6.01 K12.61 ms, 12.54 ms, 13.54
Jason 13.70 ms 96.46 ms 2.22 K None
Poison 17.58 ms 107.70 ms 1.91 K None
jsone 25.67 ms 157.92 ms 1.03 K None
JSON 29.94 ms 490.58 ms 687 None
JSX 64.59 ms 320.89 ms 493 None
Memory usage statistics:
Name Memory usage
jiffy 0.0316 MB
Jason 5.69 MB - 180.16x memory usage +5.66 MB
Poison 5.70 MB - 180.35x memory usage +5.67 MB
jsone 14.62 MB - 462.53x memory usage +14.58 MB
JSON 8.15 MB - 257.92x memory usage +8.12 MB
JSX 42.69 MB - 1350.78x memory usage +42.65 MB
**All measurements for memory usage were the same**
##### With input Blockchain #####
Name ips average deviation median 99th %
jiffy 4.43 K 225.75 μs ±637.08% 145.25 μs 538.50 μs
Jason 2.03 K 492.25 μs ±499.57% 217.20 μs 13608.19 μs
Poison 1.33 K 754.37 μs ±420.54% 332.28 μs 18160.80 μs
jsone 1.19 K 842.65 μs ±405.52% 329.55 μs 18980.10 μs
JSX 0.50 K 2007.79 μs ±255.77% 841.72 μs 31532.58 μs
JSON 0.31 K 3207.69 μs ±239.43% 1232.48 μs 42807.99 μs
Comparison:
jiffy 4.43 K
Jason 2.03 K - 2.18x slower +266.49 μs
Poison 1.33 K - 3.34x slower +528.62 μs
jsone 1.19 K - 3.73x slower +616.89 μs
JSX 0.50 K - 8.89x slower +1782.03 μs
JSON 0.31 K - 14.21x slower +2981.93 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 67.80 μs 66696.21 μs 351.32 K 136.54 μs
Jason 107.45 μs 56265.89 μs 161.56 K 207.83 μs, 205.34 μs
Poison 163.98 μs 60908.59 μs 105.20 K 317.81 μs, 316.67 μs
jsone 175.11 μs 59011.15 μs 94.55 K 323.18 μs
JSX 466.88 μs 61975.14 μs 39.67 K 760.01 μs
JSON 478.85 μs 82442.87 μs 24.88 K 924.77 μs, 909.88 μs
Memory usage statistics:
Name Memory usage
jiffy 8.03 KB
Jason 79.05 KB - 9.84x memory usage +71.02 KB
Poison 144.62 KB - 18.01x memory usage +136.59 KB
jsone 179.23 KB - 22.32x memory usage +171.20 KB
JSX 404.26 KB - 50.34x memory usage +396.23 KB
JSON 513.91 KB - 63.99x memory usage +505.88 KB
**All measurements for memory usage were the same**
##### With input GeoJSON #####
Name ips average deviation median 99th %
jiffy 7.47 0.134 s ±7.49% 0.132 s 0.188 s
jsone 1.24 0.81 s ±5.51% 0.81 s 0.96 s
JSON 0.63 1.58 s ±18.22% 1.46 s 2.33 s
Jason 0.57 1.76 s ±28.39% 1.52 s 2.62 s
Poison 0.42 2.36 s ±4.22% 2.37 s 2.56 s
JSX 0.27 3.75 s ±38.65% 3.91 s 5.63 s
Comparison:
jiffy 7.47
jsone 1.24 - 6.03x slower +0.67 s
JSON 0.63 - 11.79x slower +1.44 s
Jason 0.57 - 13.13x slower +1.62 s
Poison 0.42 - 17.64x slower +2.23 s
JSX 0.27 - 28.05x slower +3.62 s
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.114 s 0.21 s 599 None
jsone 0.72 s 0.96 s 104 None
JSON 1.28 s 2.33 s 56 None
Jason 1.14 s 2.62 s 48 None
Poison 2.10 s 2.56 s 40 None
JSX 1.83 s 5.63 s 24 None
Memory usage statistics:
Name Memory usage
jiffy 0.24 MB
jsone 68.58 MB - 279.94x memory usage +68.34 MB
JSON 239.88 MB - 979.16x memory usage +239.64 MB
Jason 193.41 MB - 789.48x memory usage +193.17 MB
Poison 216.03 MB - 881.79x memory usage +215.78 MB
JSX 619.52 MB - 2528.80x memory usage +619.28 MB
**All measurements for memory usage were the same**
##### With input Giphy #####
Name ips average deviation median 99th %
jiffy 487.16 2.05 ms ±200.32% 1.38 ms 26.33 ms
Jason 173.71 5.76 ms ±147.55% 2.60 ms 40.89 ms
Poison 106.86 9.36 ms ±109.69% 4.68 ms 44.13 ms
jsone 95.01 10.53 ms ±103.50% 5.42 ms 45.62 ms
JSX 38.85 25.74 ms ±54.67% 26.59 ms 59.06 ms
JSON 31.29 31.96 ms ±57.89% 32.64 ms 75.79 ms
Comparison:
jiffy 487.16
Jason 173.71 - 2.80x slower +3.70 ms
Poison 106.86 - 4.56x slower +7.31 ms
jsone 95.01 - 5.13x slower +8.47 ms
JSX 38.85 - 12.54x slower +23.69 ms
JSON 31.29 - 15.57x slower +29.91 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.66 ms 63.85 ms 38.79 K 1.40 ms
Jason 1.18 ms 66.48 ms 13.85 K2.59 ms, 2.60 ms, 2.92 ms
Poison 2.19 ms 68.02 ms 8.52 K4.37 ms, 4.84 ms, 4.92 ms
jsone 2.12 ms 65.92 ms 7.58 K2.88 ms, 2.17 ms, 4.02 ms
JSX 5.49 ms 82.69 ms 3.10 K None
JSON 5.09 ms 92.74 ms 2.50 K None
Memory usage statistics:
Name Memory usage
jiffy 0.115 MB
Jason 0.84 MB - 7.31x memory usage +0.73 MB
Poison 1.66 MB - 14.40x memory usage +1.54 MB
jsone 2.19 MB - 19.00x memory usage +2.07 MB
JSX 4.80 MB - 41.73x memory usage +4.69 MB
JSON 5.05 MB - 43.91x memory usage +4.94 MB
**All measurements for memory usage were the same**
##### With input GitHub #####
Name ips average deviation median 99th %
jiffy 1866.77 0.54 ms ±83.96% 0.45 ms 1.16 ms
Jason 635.33 1.57 ms ±279.10% 0.73 ms 26.63 ms
Poison 422.87 2.36 ms ±225.60% 1.13 ms 32.48 ms
jsone 296.69 3.37 ms ±189.98% 1.47 ms 34.63 ms
JSX 138.69 7.21 ms ±129.47% 3.46 ms 41.77 ms
JSON 97.92 10.21 ms ±125.44% 4.29 ms 53.98 ms
Comparison:
jiffy 1866.77
Jason 635.33 - 2.94x slower +1.04 ms
Poison 422.87 - 4.41x slower +1.83 ms
jsone 296.69 - 6.29x slower +2.83 ms
JSX 138.69 - 13.46x slower +6.67 ms
JSON 97.92 - 19.06x slower +9.68 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.22 ms 49.19 ms 148.31 K 0.42 ms
Jason 0.35 ms 55.80 ms 50.60 K 0.69 ms
Poison 0.54 ms 66.26 ms 33.69 K1.13 ms, 1.12 ms, 1.36 ms
jsone 0.74 ms 64.26 ms 23.66 K1.43 ms, 1.43 ms, 1.90 ms
JSX 1.59 ms 63.00 ms 11.07 K4.56 ms, 3.07 ms, 1.69 ms
JSON 1.52 ms 79.35 ms 7.81 K3.03 ms, 2.91 ms, 2.81 ms
Memory usage statistics:
Name average deviation median 99th %
jiffy 6.12 KB ±0.00% 6.12 KB 6.12 KB
Jason 221.29 KB ±0.00% 221.29 KB 221.29 KB
Poison 434.43 KB ±0.00% 434.43 KB 434.43 KB
jsone 683.29 KB ±0.00% 683.29 KB 683.29 KB
JSX 1394.26 KB ±0.00% 1394.27 KB 1394.27 KB
JSON 1837.95 KB ±0.00% 1837.95 KB 1837.95 KB
Comparison:
jiffy 6.12 KB
Jason 221.29 KB - 36.17x memory usage +215.17 KB
Poison 434.43 KB - 71.02x memory usage +428.31 KB
jsone 683.29 KB - 111.70x memory usage +677.17 KB
JSX 1394.26 KB - 227.93x memory usage +1388.15 KB
JSON 1837.95 KB - 300.46x memory usage +1831.83 KB
Extended statistics:
Name minimum maximum sample size mode
jiffy 6.12 KB 6.12 KB 9.44 K 6.12 KB
Jason 221.29 KB 221.29 KB 5.53 K 221.29 KB
Poison 434.43 KB 434.43 KB 3.73 K 434.43 KB
jsone 683.29 KB 683.29 KB 3.62 K 683.29 KB
JSX 1393.80 KB 1394.27 KB 1.86 K 1394.27 KB
JSON 1837.95 KB 1837.95 KB 1.67 K 1837.95 KB
##### With input GovTrack #####
Name ips average deviation median 99th %
jiffy 22.84 43.78 ms ±20.36% 42.07 ms 88.91 ms
Poison 5.27 189.79 ms ±11.98% 187.64 ms 257.95 ms
Jason 4.84 206.47 ms ±31.40% 206.89 ms 330.57 ms
jsone 3.85 260.01 ms ±12.71% 258.94 ms 330.51 ms
JSON 1.81 552.75 ms ±22.37% 500.32 ms 918.09 ms
JSX 1.36 734.85 ms ±18.09% 761.46 ms 955.69 ms
Comparison:
jiffy 22.84
Poison 5.27 - 4.34x slower +146.02 ms
Jason 4.84 - 4.72x slower +162.70 ms
jsone 3.85 - 5.94x slower +216.23 ms
JSON 1.81 - 12.63x slower +508.97 ms
JSX 1.36 - 16.79x slower +691.08 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 24.14 ms 111.93 ms 1.82 K None
Poison 138.11 ms 289.39 ms 425 None
Jason 58.71 ms 350.83 ms 390 None
jsone 115.12 ms 333.79 ms 311 None
JSON 428.71 ms 939.41 ms 148 None
JSX 378.18 ms 958.00 ms 112 None
Memory usage statistics:
Name Memory usage
jiffy 3.30 MB
Poison 35.97 MB - 10.89x memory usage +32.67 MB
Jason 18.96 MB - 5.74x memory usage +15.65 MB
jsone 45.34 MB - 13.72x memory usage +42.03 MB
JSON 123.20 MB - 37.29x memory usage +119.89 MB
JSX 94.20 MB - 28.51x memory usage +90.90 MB
**All measurements for memory usage were the same**
##### With input Issue 90 #####
Name ips average deviation median 99th %
jiffy 19.80 50.50 ms ±5.21% 50.36 ms 52.83 ms
Jason 14.84 67.38 ms ±9.41% 67.48 ms 90.34 ms
Poison 10.62 94.19 ms ±5.14% 92.79 ms 112.47 ms
jsone 9.31 107.42 ms ±16.88% 98.68 ms 158.65 ms
JSX 5.21 191.86 ms ±10.25% 182.55 ms 260.21 ms
JSON 0.34 2958.96 ms ±36.48% 2869.92 ms 4185.39 ms
Comparison:
jiffy 19.80
Jason 14.84 - 1.33x slower +16.88 ms
Poison 10.62 - 1.87x slower +43.69 ms
jsone 9.31 - 2.13x slower +56.92 ms
JSX 5.21 - 3.80x slower +141.36 ms
JSON 0.34 - 58.59x slower +2908.46 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 38.99 ms 111.98 ms 1.59 K 50.09 ms
Jason 35.43 ms 127.19 ms 1.19 K None
Poison 71.59 ms 132.00 ms 854 None
jsone 68.05 ms 175.82 ms 748 None
JSX 167.64 ms 279.67 ms 420 None
JSON 1774.51 ms 4185.39 ms 32 None
Memory usage statistics:
Name Memory usage
jiffy 0.0125 MB
Jason 0.81 MB - 65.34x memory usage +0.80 MB
Poison 1.48 MB - 118.63x memory usage +1.46 MB
jsone 2.64 MB - 212.21x memory usage +2.63 MB
JSX 4.56 MB - 366.46x memory usage +4.55 MB
JSON 237.78 MB - 19097.00x memory usage +237.77 MB
**All measurements for memory usage were the same**
##### With input JSON Generator #####
Name ips average deviation median 99th %
jiffy 503.80 1.98 ms ±192.71% 1.40 ms 22.60 ms
Jason 205.62 4.86 ms ±153.94% 2.30 ms 37.75 ms
jsone 125.00 8.00 ms ±122.95% 3.87 ms 41.98 ms
Poison 123.54 8.09 ms ±117.94% 4.11 ms 42.28 ms
JSX 49.53 20.19 ms ±65.94% 12.19 ms 55.70 ms
JSON 35.47 28.20 ms ±64.75% 26.55 ms 75.01 ms
Comparison:
jiffy 503.80
Jason 205.62 - 2.45x slower +2.88 ms
jsone 125.00 - 4.03x slower +6.02 ms
Poison 123.54 - 4.08x slower +6.11 ms
JSX 49.53 - 10.17x slower +18.20 ms
JSON 35.47 - 14.20x slower +26.21 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.72 ms 72.80 ms 40.12 K 1.38 ms, 1.38 ms
Jason 1.06 ms 66.05 ms 16.39 K2.03 ms, 2.26 ms, 2.21 ms
jsone 1.58 ms 57.72 ms 9.97 K4.08 ms, 4.08 ms, 2.98 ms
Poison 1.96 ms 65.72 ms 9.86 K3.59 ms, 3.50 ms, 2.74 ms
JSX 5.19 ms 75.88 ms 3.95 K 10.45 ms
JSON 4.54 ms 90.73 ms 2.83 K None
Memory usage statistics:
Name Memory usage
jiffy 0.108 MB
Jason 0.76 MB - 7.03x memory usage +0.65 MB
jsone 1.67 MB - 15.48x memory usage +1.56 MB
Poison 1.43 MB - 13.22x memory usage +1.32 MB
JSX 3.50 MB - 32.42x memory usage +3.40 MB
JSON 4.54 MB - 42.05x memory usage +4.44 MB
**All measurements for memory usage were the same**
##### With input Pokedex #####
Name ips average deviation median 99th %
jiffy 746.47 1.34 ms ±241.15% 0.93 ms 18.36 ms
Jason 179.88 5.56 ms ±140.76% 2.76 ms 37.95 ms
jsone 145.31 6.88 ms ±136.03% 3.15 ms 41.00 ms
Poison 128.06 7.81 ms ±114.83% 3.84 ms 40.18 ms
JSX 54.20 18.45 ms ±67.55% 11.02 ms 51.24 ms
JSON 51.95 19.25 ms ±82.13% 10.83 ms 65.47 ms
Comparison:
jiffy 746.47
Jason 179.88 - 4.15x slower +4.22 ms
jsone 145.31 - 5.14x slower +5.54 ms
Poison 128.06 - 5.83x slower +6.47 ms
JSX 54.20 - 13.77x slower +17.11 ms
JSON 51.95 - 14.37x slower +17.91 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.46 ms 69.15 ms 59.46 K 0.88 ms
Jason 1.41 ms 58.33 ms 14.35 K2.62 ms, 2.56 ms, 2.52 ms
jsone 1.35 ms 63.26 ms 11.59 K 3.48 ms
Poison 2.03 ms 65.11 ms 10.22 K3.68 ms, 3.71 ms, 3.63 ms
JSX 4.50 ms 69.42 ms 4.33 K 38.87 ms
JSON 3.63 ms 89.27 ms 4.15 K None
Memory usage statistics:
Name average deviation median 99th %
jiffy 0.0506 MB ±0.00% 0.0506 MB 0.0506 MB
Jason 0.78 MB ±0.00% 0.78 MB 0.78 MB
jsone 1.46 MB ±0.00% 1.46 MB 1.46 MB
Poison 1.38 MB ±0.00% 1.38 MB 1.38 MB
JSX 3.60 MB ±0.00% 3.60 MB 3.60 MB
JSON 2.85 MB ±0.00% 2.85 MB 2.85 MB
Comparison:
jiffy 0.0506 MB
Jason 0.78 MB - 15.39x memory usage +0.73 MB
jsone 1.46 MB - 28.77x memory usage +1.40 MB
Poison 1.38 MB - 27.31x memory usage +1.33 MB
JSX 3.60 MB - 71.10x memory usage +3.55 MB
JSON 2.85 MB - 56.31x memory usage +2.80 MB
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.0506 MB 0.0506 MB 4.44 K 0.0506 MB
Jason 0.78 MB 0.78 MB 1.93 K 0.78 MB
jsone 1.46 MB 1.46 MB 2.16 K 1.46 MB
Poison 1.38 MB 1.38 MB 1.26 K 1.38 MB
JSX 3.60 MB 3.60 MB 631 3.60 MB
JSON 2.85 MB 2.85 MB 729 2.85 MB
##### With input Reddit #####
Name ips average deviation median 99th %
jiffy 437.79 2.28 ms ±187.82% 1.55 ms 27.52 ms
Jason 188.42 5.31 ms ±150.20% 2.45 ms 38.47 ms
Poison 123.81 8.08 ms ±118.39% 4.09 ms 41.74 ms
jsone 104.96 9.53 ms ±110.07% 4.89 ms 43.88 ms
JSX 40.49 24.70 ms ±58.00% 25.69 ms 60.27 ms
JSON 30.32 32.98 ms ±55.35% 33.17 ms 75.94 ms
Comparison:
jiffy 437.79
Jason 188.42 - 2.32x slower +3.02 ms
Poison 123.81 - 3.54x slower +5.79 ms
jsone 104.96 - 4.17x slower +7.24 ms
JSX 40.49 - 10.81x slower +22.41 ms
JSON 30.32 - 14.44x slower +30.70 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.77 ms 67.64 ms 34.89 K 1.43 ms
Jason 1.20 ms 63.92 ms 15.03 K2.18 ms, 2.53 ms, 2.21 ms
Poison 1.95 ms 63.25 ms 9.88 K3.60 ms, 3.47 ms, 3.64 ms
jsone 1.94 ms 66.77 ms 8.37 K4.98 ms, 3.70 ms, 3.64 ms
JSX 5.84 ms 73.21 ms 3.23 K 9.43 ms
JSON 5.04 ms 92.34 ms 2.42 K None
Memory usage statistics:
Name average deviation median 99th %
jiffy 0.150 MB ±0.00% 0.150 MB 0.150 MB
Jason 0.78 MB ±0.00% 0.78 MB 0.78 MB
Poison 1.41 MB ±0.00% 1.41 MB 1.41 MB
jsone 1.97 MB ±0.00% 1.97 MB 1.97 MB
JSX 4.44 MB ±0.00% 4.44 MB 4.44 MB
JSON 4.83 MB ±0.00% 4.83 MB 4.83 MB
Comparison:
jiffy 0.150 MB
Jason 0.78 MB - 5.17x memory usage +0.63 MB
Poison 1.41 MB - 9.34x memory usage +1.25 MB
jsone 1.97 MB - 13.13x memory usage +1.82 MB
JSX 4.44 MB - 29.52x memory usage +4.29 MB
JSON 4.83 MB - 32.09x memory usage +4.68 MB
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.150 MB 0.150 MB 2.57 K 0.150 MB
Jason 0.78 MB 0.78 MB 1.60 K 0.78 MB
Poison 1.41 MB 1.41 MB 998 1.41 MB
jsone 1.97 MB 1.97 MB 1.51 K 1.97 MB
JSX 4.44 MB 4.44 MB 424 4.44 MB
JSON 4.83 MB 4.83 MB 537 4.83 MB
##### With input UTF-8 escaped #####
Name ips average deviation median 99th %
jiffy 7.11 K 140.60 μs ±159.07% 126.05 μs 433.26 μs
Jason 4.07 K 245.93 μs ±553.19% 165.69 μs 708.74 μs
Poison 4.06 K 246.12 μs ±532.21% 175.38 μs 541.33 μs
JSX 2.15 K 464.73 μs ±430.85% 289.54 μs 4306.74 μs
JSON 0.91 K 1099.64 μs ±380.44% 361.82 μs 26261.42 μs
jsone 0.75 K 1337.08 μs ±269.79% 759.58 μs 21188.30 μs
Comparison:
jiffy 7.11 K
Jason 4.07 K - 1.75x slower +105.33 μs
Poison 4.06 K - 1.75x slower +105.52 μs
JSX 2.15 K - 3.31x slower +324.13 μs
JSON 0.91 K - 7.82x slower +959.04 μs
jsone 0.75 K - 9.51x slower +1196.48 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 73.46 μs 49686.47 μs 559.31 K 126.12 μs
Jason 87.76 μs 67507.85 μs 322.54 K 161.86 μs
Poison 92.87 μs 65307.70 μs 322.73 K 172.46 μs
JSX 163.33 μs 56029.43 μs 171.04 K 271.74 μs
JSON 207.31 μs 62628.76 μs 72.30 K347.48 μs, 355.41 μs, 353
jsone 368.04 μs 55012.62 μs 59.62 K 755.03 μs
Memory usage statistics:
Name Memory usage
jiffy 0.66 KB
Jason 7.02 KB - 10.56x memory usage +6.35 KB
Poison 15.86 KB - 23.88x memory usage +15.20 KB
JSX 49.73 KB - 74.89x memory usage +49.07 KB
JSON 150.44 KB - 226.54x memory usage +149.77 KB
jsone 210.48 KB - 316.95x memory usage +209.81 KB
**All measurements for memory usage were the same**
##### With input UTF-8 unescaped #####
Name ips average deviation median 99th %
jiffy 7.09 K 141.12 μs ±159.15% 126.45 μs 432.09 μs
Poison 5.51 K 181.38 μs ±177.05% 166.21 μs 447.22 μs
Jason 4.22 K 237.09 μs ±561.09% 160.85 μs 689.38 μs
JSX 2.31 K 432.61 μs ±450.00% 274.90 μs 4196.58 μs
JSON 0.98 K 1021.79 μs ±375.57% 350.43 μs 21711.01 μs
jsone 0.76 K 1319.60 μs ±273.65% 748.73 μs 21308.29 μs
Comparison:
jiffy 7.09 K
Poison 5.51 K - 1.29x slower +40.25 μs
Jason 4.22 K - 1.68x slower +95.96 μs
JSX 2.31 K - 3.07x slower +291.49 μs
JSON 0.98 K - 7.24x slower +880.67 μs
jsone 0.76 K - 9.35x slower +1178.48 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 74.44 μs 56107.61 μs 558.28 K 126.60 μs
Poison 88.26 μs 51210.46 μs 436.92 K 166.01 μs
Jason 84.87 μs 66524.32 μs 334.50 K 158.47 μs
JSX 157.76 μs 62247.20 μs 183.75 K 261.64 μs
JSON 202.92 μs 54682.31 μs 78.00 K 349.22 μs, 347.67 μs
jsone 362.55 μs 59568.66 μs 60.37 K 741.46 μs
Memory usage statistics:
Name Memory usage
jiffy 0.70 KB
Poison 13.87 KB - 19.94x memory usage +13.17 KB
Jason 6.17 KB - 8.88x memory usage +5.48 KB
JSX 41.05 KB - 59.04x memory usage +40.36 KB
JSON 150.44 KB - 216.36x memory usage +149.74 KB
jsone 207.50 KB - 298.43x 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