Skip to content

Instantly share code, notes, and snippets.

@devinus
Created July 22, 2021 11:54
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save devinus/f56cff9e5a0aa9de9215cf33212085f6 to your computer and use it in GitHub Desktop.
Save devinus/f56cff9e5a0aa9de9215cf33212085f6 to your computer and use it in GitHub Desktop.
Poison Benchmarks 07-22-2021
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.2
Erlang 24.0.3
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: 18.20 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 Tiny with input Benchee...
Benchmarking Tiny with input Blockchain...
Benchmarking Tiny with input GeoJSON...
Benchmarking Tiny with input Giphy...
Benchmarking Tiny with input GitHub...
Benchmarking Tiny with input GovTrack...
Benchmarking Tiny with input Issue 90...
Benchmarking Tiny with input JSON Generator...
Benchmarking Tiny with input JSON Generator (Pretty)...
Benchmarking Tiny with input Pokedex...
Benchmarking Tiny with input Reddit...
Benchmarking Tiny with input UTF-8 escaped...
Benchmarking Tiny 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 47.55 21.03 ms ±16.54% 21.00 ms 30.87 ms
Poison 39.60 25.26 ms ±14.16% 24.76 ms 36.72 ms
jsone 26.07 38.36 ms ±13.65% 38.61 ms 51.18 ms
Jason 25.58 39.09 ms ±10.96% 38.71 ms 51.54 ms
JSX 8.10 123.49 ms ±6.69% 122.38 ms 146.98 ms
Tiny 6.38 156.71 ms ±6.10% 156.24 ms 182.75 ms
JSON 1.33 750.54 ms ±2.41% 750.16 ms 796.57 ms
Comparison:
jiffy 47.55
Poison 39.60 - 1.20x slower +4.23 ms
jsone 26.07 - 1.82x slower +17.33 ms
Jason 25.58 - 1.86x slower +18.06 ms
JSX 8.10 - 5.87x slower +102.46 ms
Tiny 6.38 - 7.45x slower +135.68 ms
JSON 1.33 - 35.69x slower +729.51 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 11.03 ms 51.72 ms 3.77 K None
Poison 16.18 ms 48.29 ms 3.15 K None
jsone 23.17 ms 60.10 ms 2.08 K None
Jason 25.14 ms 58.46 ms 2.04 K None
JSX 102.30 ms 159.25 ms 650 None
Tiny 135.02 ms 188.02 ms 512 None
JSON 716.59 ms 796.70 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
Tiny 48.47 MB - 18.45x memory usage +45.84 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.98 K 335.29 μs ±25.14% 305.44 μs 619.90 μs
Jason 2.76 K 362.55 μs ±21.41% 332.39 μs 563.83 μs
jiffy 2.55 K 392.59 μs ±26.68% 359.08 μs 654.65 μs
jsone 1.77 K 563.72 μs ±20.42% 547.13 μs 949.86 μs
Tiny 1.21 K 829.55 μs ±11.39% 823.56 μs 1011.95 μs
JSX 1.05 K 951.96 μs ±9.69% 947.91 μs 1136.47 μs
JSON 0.39 K 2588.14 μs ±4.39% 2583.49 μs 2911.48 μs
Comparison:
Poison 2.98 K
Jason 2.76 K - 1.08x slower +27.26 μs
jiffy 2.55 K - 1.17x slower +57.30 μs
jsone 1.77 K - 1.68x slower +228.43 μs
Tiny 1.21 K - 2.47x slower +494.27 μs
JSX 1.05 K - 2.84x slower +616.68 μs
JSON 0.39 K - 7.72x slower +2252.85 μs
Extended statistics:
Name minimum maximum sample size mode
Poison 141.57 μs 2161.36 μs 236.19 K269.98 μs, 270.71 μs, 270
Jason 187.77 μs 7668.15 μs 218.77 K 294.09 μs
jiffy 185.09 μs 4084.21 μs 201.39 K320.78 μs, 320.97 μs, 321
jsone 260.64 μs 1477.17 μs 140.89 K 549.54 μs, 570.05 μs
Tiny 630.44 μs 10614.59 μs 95.98 K 765.97 μs
JSX 737.98 μs 4464.61 μs 83.64 K884.78 μs, 879.72 μs, 907
JSON 2153.14 μs 3244.42 μs 30.84 K2594.48 μs, 2618.80 μs, 2
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
Tiny 313.84 KB - 5.67x memory usage +258.52 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.81 207.91 ms ±6.76% 207.16 ms 244.18 ms
Poison 4.22 237.12 ms ±8.64% 236.93 ms 288.96 ms
jsone 3.67 272.76 ms ±5.02% 272.59 ms 307.38 ms
Jason 2.75 363.37 ms ±5.98% 362.02 ms 415.51 ms
JSX 1.10 912.69 ms ±2.36% 912.97 ms 980.46 ms
Tiny 0.50 1982.31 ms ±2.34% 1978.77 ms 2073.90 ms
JSON 0.176 5674.33 ms ±0.72% 5679.79 ms 5734.27 ms
Comparison:
jiffy 4.81
Poison 4.22 - 1.14x slower +29.22 ms
jsone 3.67 - 1.31x slower +64.85 ms
Jason 2.75 - 1.75x slower +155.47 ms
JSX 1.10 - 4.39x slower +704.78 ms
Tiny 0.50 - 9.53x slower +1774.40 ms
JSON 0.176 - 27.29x slower +5466.42 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 167.31 ms 248.10 ms 386 None
Poison 193.69 ms 298.89 ms 341 None
jsone 235.82 ms 319.71 ms 296 None
Jason 314.19 ms 418.07 ms 224 None
JSX 853.51 ms 980.46 ms 88 None
Tiny 1875.66 ms 2073.90 ms 48 None
JSON 5606.18 ms 5734.27 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
Tiny 315.85 MB - 15.35x memory usage +295.27 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 270.25 3.70 ms ±21.92% 3.67 ms 5.83 ms
Jason 229.29 4.36 ms ±6.80% 4.30 ms 5.29 ms
Poison 217.05 4.61 ms ±5.30% 4.64 ms 5.16 ms
jsone 100.34 9.97 ms ±3.06% 9.94 ms 11.03 ms
Tiny 88.68 11.28 ms ±3.02% 11.14 ms 12.19 ms
JSX 81.02 12.34 ms ±4.43% 12.24 ms 13.72 ms
JSON 36.70 27.25 ms ±3.89% 27.22 ms 29.86 ms
Comparison:
jiffy 270.25
Jason 229.29 - 1.18x slower +0.66 ms
Poison 217.05 - 1.25x slower +0.91 ms
jsone 100.34 - 2.69x slower +6.27 ms
Tiny 88.68 - 3.05x slower +7.58 ms
JSX 81.02 - 3.34x slower +8.64 ms
JSON 36.70 - 7.36x slower +23.55 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 1.62 ms 13.02 ms 21.49 K 3.41 ms
Jason 3.22 ms 11.10 ms 18.22 K4.29 ms, 4.55 ms, 4.29 ms
Poison 3.97 ms 12.42 ms 17.25 K4.64 ms, 4.25 ms, 4.64 ms
jsone 8.94 ms 12.46 ms 8.01 K9.90 ms, 9.88 ms, 10.03 m
Tiny 10.27 ms 13.58 ms 7.08 K11.13 ms, 11.00 ms, 11.16
JSX 11.21 ms 14.81 ms 6.47 K12.21 ms, 11.79 ms, 12.00
JSON 24.72 ms 30.80 ms 2.94 K 27.88 ms, 26.94 ms
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
Tiny 3.58 MB - 8.92x memory usage +3.18 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 988.29 1.01 ms ±6.23% 1.01 ms 1.20 ms
Poison 979.86 1.02 ms ±6.70% 1.01 ms 1.25 ms
jiffy 890.19 1.12 ms ±20.96% 1.12 ms 2.01 ms
jsone 596.53 1.68 ms ±7.57% 1.68 ms 1.93 ms
Tiny 413.72 2.42 ms ±4.06% 2.41 ms 2.64 ms
JSX 273.98 3.65 ms ±3.48% 3.67 ms 3.92 ms
JSON 143.22 6.98 ms ±2.83% 6.97 ms 7.47 ms
Comparison:
Jason 988.29
Poison 979.86 - 1.01x slower +0.00871 ms
jiffy 890.19 - 1.11x slower +0.112 ms
jsone 596.53 - 1.66x slower +0.66 ms
Tiny 413.72 - 2.39x slower +1.41 ms
JSX 273.98 - 3.61x slower +2.64 ms
JSON 143.22 - 6.90x slower +5.97 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 0.54 ms 2.68 ms 78.57 K 1.01 ms
Poison 0.81 ms 1.65 ms 77.87 K1.01 ms, 1.01 ms, 1.01 ms
jiffy 0.50 ms 9.75 ms 70.80 K 1.13 ms, 0.88 ms
jsone 1.30 ms 11.27 ms 47.51 K 1.62 ms
Tiny 2.02 ms 2.92 ms 32.94 K 2.39 ms
JSX 3.28 ms 11.38 ms 21.84 K 3.72 ms, 3.76 ms
JSON 5.95 ms 17.39 ms 11.44 K6.90 ms, 6.83 ms, 7.02 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
Tiny 724.38 KB ±0.00% 724.38 KB 724.38 KB
JSX 1217.23 KB ±0.00% 1217.23 KB 1217.23 KB
JSON 3014.53 KB ±0.00% 3014.53 KB 3014.58 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
Tiny 724.38 KB - 5.88x memory usage +601.23 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.41 K 123.14 KB
Poison 131.04 KB 131.04 KB 6.37 K 131.04 KB
jiffy 47.59 KB 47.59 KB 4.77 K 47.59 KB
jsone 425.45 KB 425.45 KB 4.58 K 425.45 KB
Tiny 724.38 KB 724.38 KB 3.16 K 724.38 KB
JSX 1217.23 KB 1217.23 KB 2.21 K 1217.23 KB
JSON 3014.50 KB 3014.58 KB 1.17 K 3014.53 KB
##### With input GovTrack #####
Name ips average deviation median 99th %
Jason 7.51 133.18 ms ±7.20% 132.28 ms 157.66 ms
Poison 7.43 134.57 ms ±7.21% 133.46 ms 164.18 ms
jiffy 6.18 161.68 ms ±5.80% 161.18 ms 186.70 ms
jsone 3.76 266.23 ms ±4.57% 265.41 ms 291.29 ms
Tiny 2.57 388.96 ms ±4.83% 388.01 ms 431.03 ms
JSX 2.00 498.88 ms ±3.58% 497.77 ms 556.95 ms
JSON 0.75 1334.57 ms ±2.58% 1337.77 ms 1413.69 ms
Comparison:
Jason 7.51
Poison 7.43 - 1.01x slower +1.40 ms
jiffy 6.18 - 1.21x slower +28.51 ms
jsone 3.76 - 2.00x slower +133.05 ms
Tiny 2.57 - 2.92x slower +255.78 ms
JSX 2.00 - 3.75x slower +365.71 ms
JSON 0.75 - 10.02x slower +1201.39 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 104.86 ms 168.75 ms 600 None
Poison 110.03 ms 169.75 ms 593 None
jiffy 136.27 ms 198.72 ms 496 None
jsone 229.04 ms 303.35 ms 304 None
Tiny 339.68 ms 464.64 ms 208 None
JSX 443.23 ms 558.59 ms 160 None
JSON 1244.85 ms 1413.69 ms 64 None
Memory usage statistics:
Name average deviation median 99th %
Jason 11.68 MB ±0.12% 11.68 MB 11.68 MB
Poison 12.63 MB ±0.00% 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
Tiny 65.15 MB ±0.00% 65.15 MB 65.15 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
Tiny 65.15 MB - 5.58x memory usage +53.47 MB
JSX 83.63 MB - 7.16x memory usage +71.95 MB
JSON 269.12 MB - 23.04x memory usage +257.44 MB
Extended statistics:
Name minimum maximum sample size mode
Jason 11.61 MB 11.68 MB 53 11.68 MB
Poison 12.63 MB 12.63 MB 54 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
Tiny 65.15 MB 65.15 MB 24 65.15 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.09 31.16 ms ±1.30% 31.09 ms 33.17 ms
Jason 14.60 68.51 ms ±3.17% 68.38 ms 75.24 ms
Poison 12.42 80.54 ms ±1.35% 80.37 ms 83.09 ms
jsone 9.23 108.30 ms ±1.99% 107.25 ms 114.42 ms
Tiny 8.12 123.20 ms ±5.07% 122.15 ms 146.26 ms
JSX 5.93 168.57 ms ±0.85% 168.43 ms 173.87 ms
JSON 0.85 1181.02 ms ±4.70% 1186.67 ms 1297.41 ms
Comparison:
jiffy 32.09
Jason 14.60 - 2.20x slower +37.35 ms
Poison 12.42 - 2.58x slower +49.38 ms
jsone 9.23 - 3.48x slower +77.14 ms
Tiny 8.12 - 3.95x slower +92.04 ms
JSX 5.93 - 5.41x slower +137.41 ms
JSON 0.85 - 37.90x slower +1149.85 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 29.57 ms 35.56 ms 2.46 K30.92 ms, 31.06 ms, 30.91
Jason 37.18 ms 87.70 ms 1.09 K None
Poison 78.56 ms 89.92 ms 936 None
jsone 105.03 ms 115.14 ms 733 None
Tiny 73.19 ms 156.80 ms 629 None
JSX 160.83 ms 182.11 ms 464 None
JSON 1051.33 ms 1297.41 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
Tiny 6.44 MB - 565.78x memory usage +6.42 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 %
Jason 314.33 3.18 ms ±7.03% 3.13 ms 3.82 ms
Poison 305.10 3.28 ms ±8.67% 3.18 ms 3.96 ms
jiffy 256.43 3.90 ms ±24.69% 3.86 ms 6.40 ms
jsone 174.43 5.73 ms ±5.65% 5.67 ms 6.90 ms
Tiny 117.45 8.51 ms ±2.86% 8.45 ms 9.16 ms
JSX 98.63 10.14 ms ±2.48% 10.07 ms 10.87 ms
JSON 29.17 34.28 ms ±3.43% 34.19 ms 37.10 ms
Comparison:
Jason 314.33
Poison 305.10 - 1.03x slower +0.0962 ms
jiffy 256.43 - 1.23x slower +0.72 ms
jsone 174.43 - 1.80x slower +2.55 ms
Tiny 117.45 - 2.68x slower +5.33 ms
JSX 98.63 - 3.19x slower +6.96 ms
JSON 29.17 - 10.78x slower +31.10 ms
Extended statistics:
Name minimum maximum sample size mode
Jason 2.68 ms 4.19 ms 25.05 K3.22 ms, 3.07 ms, 3.11 ms
Poison 2.71 ms 4.28 ms 24.32 K3.06 ms, 3.13 ms, 3.15 ms
jiffy 1.61 ms 11.13 ms 20.03 K4.07 ms, 3.32 ms, 3.90 ms
jsone 4.89 ms 7.33 ms 13.93 K 5.72 ms
Tiny 8.03 ms 9.70 ms 9.38 K8.38 ms, 8.41 ms, 8.54 ms
JSX 9.54 ms 11.46 ms 7.88 K10.02 ms, 10.19 ms, 10.11
JSON 31.69 ms 42.79 ms 2.34 K 35.05 ms
Memory usage statistics:
Name Memory usage
Jason 0.47 MB
Poison 0.51 MB - 1.09x memory usage +0.0423 MB
jiffy 0.31 MB - 0.65x memory usage -0.16476 MB
jsone 1.44 MB - 3.07x memory usage +0.97 MB
Tiny 2.79 MB - 5.93x memory usage +2.32 MB
JSX 3.14 MB - 6.67x memory usage +2.67 MB
JSON 11.63 MB - 24.73x memory usage +11.16 MB
**All measurements for memory usage were the same**
##### With input JSON Generator (Pretty) #####
Name ips average deviation median 99th %
Poison 270.29 3.70 ms ±6.64% 3.63 ms 4.34 ms
Jason 269.76 3.71 ms ±6.07% 3.65 ms 4.40 ms
jiffy 208.80 4.79 ms ±22.89% 4.76 ms 7.52 ms
jsone 159.76 6.26 ms ±5.31% 6.19 ms 7.46 ms
Tiny 115.89 8.63 ms ±2.53% 8.60 ms 9.22 ms
JSX 93.97 10.64 ms ±3.04% 10.60 ms 11.38 ms
JSON 28.69 34.85 ms ±3.40% 34.81 ms 37.54 ms
Comparison:
Poison 270.29
Jason 269.76 - 1.00x slower +0.00727 ms
jiffy 208.80 - 1.29x slower +1.09 ms
jsone 159.76 - 1.69x slower +2.56 ms
Tiny 115.89 - 2.33x slower +4.93 ms
JSX 93.97 - 2.88x slower +6.94 ms
JSON 28.69 - 9.42x slower +31.15 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 3.19 ms 11.53 ms 21.53 K3.49 ms, 3.49 ms, 3.46 ms
Jason 3.24 ms 4.77 ms 21.49 K3.62 ms, 3.64 ms, 3.59 ms
jiffy 2.17 ms 19.47 ms 15.90 K4.83 ms, 4.55 ms, 5.47 ms
jsone 5.41 ms 7.98 ms 12.75 K 6.25 ms, 6.16 ms
Tiny 8.06 ms 14.18 ms 9.25 K8.39 ms, 8.79 ms, 8.76 ms
JSX 6.39 ms 22.88 ms 7.50 K10.50 ms, 10.48 ms, 10.69
JSON 32.12 ms 38.94 ms 2.30 K 34.13 ms
Memory usage statistics:
Name Memory usage
Poison 0.51 MB
Jason 0.47 MB - 0.92x memory usage -0.03845 MB
jiffy 0.55 MB - 1.08x memory usage +0.0429 MB
jsone 1.44 MB - 2.83x memory usage +0.93 MB
Tiny 2.78 MB - 5.48x memory usage +2.28 MB
JSX 3.14 MB - 6.17x memory usage +2.63 MB
JSON 11.62 MB - 22.85x memory usage +11.11 MB
**All measurements for memory usage were the same**
##### With input Pokedex #####
Name ips average deviation median 99th %
Poison 509.12 1.96 ms ±11.66% 1.91 ms 2.66 ms
Jason 484.77 2.06 ms ±13.34% 2.03 ms 2.74 ms
jiffy 288.09 3.47 ms ±29.84% 3.35 ms 6.27 ms
jsone 249.02 4.02 ms ±3.98% 4.02 ms 4.52 ms
Tiny 140.37 7.12 ms ±3.19% 7.13 ms 7.63 ms
JSX 131.63 7.60 ms ±3.83% 7.57 ms 8.36 ms
JSON 40.62 24.62 ms ±3.68% 24.57 ms 26.67 ms
Comparison:
Poison 509.12
Jason 484.77 - 1.05x slower +0.0987 ms
jiffy 288.09 - 1.77x slower +1.51 ms
jsone 249.02 - 2.04x slower +2.05 ms
Tiny 140.37 - 3.63x slower +5.16 ms
JSX 131.63 - 3.87x slower +5.63 ms
JSON 40.62 - 12.53x slower +22.65 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 1.53 ms 3.05 ms 40.55 K 1.77 ms, 1.79 ms
Jason 1.12 ms 15.50 ms 38.63 K2.09 ms, 2.09 ms, 2.08 ms
jiffy 1.39 ms 7.91 ms 22.98 K 3.11 ms
jsone 3.53 ms 11.47 ms 19.89 K3.97 ms, 4.06 ms, 4.09 ms
Tiny 6.71 ms 16.64 ms 11.21 K6.94 ms, 7.21 ms, 6.92 ms
JSX 7.04 ms 14.97 ms 10.52 K7.60 ms, 7.69 ms, 7.62 ms
JSON 22.45 ms 28.18 ms 3.25 K 25.00 ms, 23.36 ms
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
Tiny 2.23 MB - 5.27x memory usage +1.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.73 3.76 ms ±5.96% 3.73 ms 4.47 ms
Jason 260.37 3.84 ms ±13.63% 3.78 ms 4.64 ms
jiffy 215.57 4.64 ms ±30.79% 4.37 ms 8.20 ms
jsone 141.82 7.05 ms ±5.58% 7.01 ms 8.41 ms
Tiny 97.05 10.30 ms ±3.31% 10.26 ms 11.11 ms
JSX 76.94 13.00 ms ±2.81% 12.96 ms 14.16 ms
JSON 30.24 33.07 ms ±4.26% 32.94 ms 36.67 ms
Comparison:
Poison 265.73
Jason 260.37 - 1.02x slower +0.0776 ms
jiffy 215.57 - 1.23x slower +0.88 ms
jsone 141.82 - 1.87x slower +3.29 ms
Tiny 97.05 - 2.74x slower +6.54 ms
JSX 76.94 - 3.45x slower +9.23 ms
JSON 30.24 - 8.79x slower +29.31 ms
Extended statistics:
Name minimum maximum sample size mode
Poison 2.99 ms 7.28 ms 21.16 K3.68 ms, 3.77 ms, 3.68 ms
Jason 2.14 ms 38.53 ms 20.74 K 3.78 ms
jiffy 2.01 ms 19.84 ms 17.16 K3.77 ms, 3.78 ms, 5.17 ms
jsone 5.90 ms 10.65 ms 11.32 K7.01 ms, 7.07 ms, 7.05 ms
Tiny 9.39 ms 17.88 ms 7.75 K10.66 ms, 10.64 ms, 10.25
JSX 11.97 ms 15.50 ms 6.15 K13.33 ms, 13.08 ms, 12.88
JSON 30.04 ms 37.59 ms 2.42 K 32.03 ms, 32.73 ms
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.01% 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
Tiny 2.89 MB ±0.00% 2.89 MB 2.89 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.04103 MB
jiffy 0.52 MB - 0.90x memory usage -0.05623 MB
jsone 1.57 MB - 2.74x memory usage +0.99 MB
Tiny 2.89 MB - 5.05x memory usage +2.32 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.99 K 0.57 MB
Jason 0.53 MB 0.54 MB 1.98 K 0.53 MB
jiffy 0.52 MB 0.52 MB 1.50 K 0.52 MB
jsone 1.57 MB 1.57 MB 1.48 K 1.57 MB
Tiny 2.89 MB 2.89 MB 950 2.89 MB
JSX 3.45 MB 3.45 MB 778 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 5371.12 0.186 ms ±19.61% 0.183 ms 0.25 ms
Jason 997.01 1.00 ms ±37.43% 0.96 ms 2.09 ms
Poison 888.13 1.13 ms ±15.57% 1.17 ms 1.46 ms
jsone 513.10 1.95 ms ±12.98% 1.92 ms 2.53 ms
JSX 486.11 2.06 ms ±18.46% 2.02 ms 2.85 ms
Tiny 481.81 2.08 ms ±21.55% 2.02 ms 3.44 ms
JSON 371.76 2.69 ms ±17.33% 2.68 ms 4.18 ms
Comparison:
jiffy 5371.12
Jason 997.01 - 5.39x slower +0.82 ms
Poison 888.13 - 6.05x slower +0.94 ms
jsone 513.10 - 10.47x slower +1.76 ms
JSX 486.11 - 11.05x slower +1.87 ms
Tiny 481.81 - 11.15x slower +1.89 ms
JSON 371.76 - 14.45x slower +2.50 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.0990 ms 5.24 ms 415.12 K 0.183 ms
Jason 0.42 ms 15.04 ms 79.27 K 0.76 ms
Poison 0.69 ms 1.94 ms 70.73 K1.22 ms, 1.05 ms, 1.24 ms
jsone 1.48 ms 2.66 ms 40.98 K1.88 ms, 1.99 ms, 2.12 ms
JSX 1.31 ms 3.86 ms 38.77 K1.79 ms, 1.85 ms, 2.45 ms
Tiny 1.23 ms 7.26 ms 38.43 K2.02 ms, 2.03 ms, 2.06 ms
JSON 1.77 ms 6.51 ms 29.68 K2.75 ms, 2.76 ms, 2.61 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.79 KB ±2.02% 254.58 KB 254.58 KB
jsone 741.63 KB ±0.00% 741.63 KB 741.63 KB
JSX 736.73 KB ±0.00% 736.73 KB 736.73 KB
Tiny 914.32 KB ±0.00% 914.32 KB 914.32 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.79 KB - 3609.50x memory usage +253.72 KB
jsone 741.63 KB - 10547.67x memory usage +741.56 KB
JSX 736.73 KB - 10477.89x memory usage +736.66 KB
Tiny 914.32 KB - 13003.67x memory usage +914.25 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.96 K 0.0703 KB
Jason 283.85 KB 283.85 KB 5.80 K 283.85 KB
Poison 220.32 KB 254.67 KB 6.23 K 254.58 KB
jsone 741.63 KB 741.63 KB 3.43 K 741.63 KB
JSX 736.73 KB 736.73 KB 3.66 K 736.73 KB
Tiny 914.32 KB 914.32 KB 3.46 K 914.32 KB
JSON 1092.36 KB 1092.36 KB 2.71 K 1092.36 KB
##### With input UTF-8 unescaped #####
Name ips average deviation median 99th %
jiffy 8.89 K 112.53 μs ±32.46% 110.15 μs 151.90 μs
Poison 5.99 K 167.04 μs ±90.03% 147.32 μs 553.35 μs
Jason 5.67 K 176.47 μs ±72.66% 158.30 μs 525.38 μs
jsone 4.05 K 246.76 μs ±30.19% 215.81 μs 497.16 μs
JSX 3.54 K 282.18 μs ±25.57% 253.46 μs 524.95 μs
JSON 2.00 K 500.26 μs ±42.59% 460.28 μs 1037.75 μs
Tiny 1.44 K 693.61 μs ±11.75% 694.36 μs 857.62 μs
Comparison:
jiffy 8.89 K
Poison 5.99 K - 1.48x slower +54.52 μs
Jason 5.67 K - 1.57x slower +63.94 μs
jsone 4.05 K - 2.19x slower +134.24 μs
JSX 3.54 K - 2.51x slower +169.66 μs
JSON 2.00 K - 4.45x slower +387.73 μs
Tiny 1.44 K - 6.16x slower +581.08 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 63.13 μs 8094.16 μs 678.93 K 110.39 μs
Poison 81.67 μs 20710.46 μs 469.21 K 145.89 μs
Jason 84.27 μs 14770.13 μs 443.80 K 156.74 μs
jsone 127.45 μs 1681.27 μs 320.50 K 195.92 μs
JSX 139.99 μs 2852.57 μs 280.50 K 236.56 μs
JSON 175.12 μs 15601.68 μs 158.68 K 305.47 μs, 307.15 μs
Tiny 477.03 μs 1004.48 μs 114.81 K 668.61 μs, 690.34 μ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
Tiny 343.13 KB - 4880.00x memory usage +343.05 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.2
Erlang 24.0.3
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: 16.80 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 Tiny with input Benchee...
Benchmarking Tiny with input Blockchain...
Benchmarking Tiny with input GeoJSON...
Benchmarking Tiny with input Giphy...
Benchmarking Tiny with input GitHub...
Benchmarking Tiny with input GovTrack...
Benchmarking Tiny with input Issue 90...
Benchmarking Tiny with input JSON Generator...
Benchmarking Tiny with input Pokedex...
Benchmarking Tiny with input Reddit...
Benchmarking Tiny with input UTF-8 escaped...
Benchmarking Tiny 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 80.63 12.40 ms ±16.01% 12.31 ms 14.83 ms
Jason 28.41 35.20 ms ±45.61% 35.56 ms 76.14 ms
Poison 24.61 40.63 ms ±43.57% 40.41 ms 84.17 ms
Tiny 17.34 57.67 ms ±20.88% 54.65 ms 92.04 ms
jsone 12.74 78.49 ms ±26.04% 80.83 ms 123.87 ms
JSON 8.52 117.33 ms ±87.97% 81.73 ms 431.84 ms
JSX 6.30 158.84 ms ±22.53% 156.33 ms 296.02 ms
Comparison:
jiffy 80.63
Jason 28.41 - 2.84x slower +22.80 ms
Poison 24.61 - 3.28x slower +28.23 ms
Tiny 17.34 - 4.65x slower +45.26 ms
jsone 12.74 - 6.33x slower +66.09 ms
JSON 8.52 - 9.46x slower +104.93 ms
JSX 6.30 - 12.81x slower +146.44 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 5.92 ms 68.89 ms 6.43 K13.02 ms, 12.61 ms, 12.71
Jason 13.90 ms 94.58 ms 2.27 K None
Poison 16.36 ms 109.06 ms 1.97 K None
Tiny 20.25 ms 110.06 ms 1.39 K None
jsone 26.81 ms 133.51 ms 1.02 K None
JSON 35.47 ms 447.55 ms 688 None
JSX 60.35 ms 332.92 ms 506 None
Memory usage statistics:
Name Memory usage
jiffy 0.0316 MB
Jason 5.69 MB - 180.12x memory usage +5.66 MB
Poison 5.70 MB - 180.31x memory usage +5.67 MB
Tiny 7.32 MB - 231.73x memory usage +7.29 MB
jsone 14.62 MB - 462.42x memory usage +14.58 MB
JSON 8.15 MB - 257.85x memory usage +8.12 MB
JSX 42.69 MB - 1350.45x 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.49 μs ±643.49% 145.05 μs 542.14 μs
Jason 2.04 K 490.41 μs ±502.58% 220.15 μs 14243.20 μs
Poison 1.33 K 749.72 μs ±428.18% 335.88 μs 17874.32 μs
jsone 1.20 K 833.26 μs ±410.89% 336.45 μs 19074.62 μs
Tiny 1.00 K 1000.23 μs ±394.63% 434.38 μs 23761.24 μs
JSX 0.50 K 2008.11 μs ±267.48% 822.77 μs 31509.00 μs
JSON 0.31 K 3203.48 μs ±240.63% 1251.84 μs 42497.72 μs
Comparison:
jiffy 4.43 K
Jason 2.04 K - 2.17x slower +264.92 μs
Poison 1.33 K - 3.32x slower +524.23 μs
jsone 1.20 K - 3.70x slower +607.77 μs
Tiny 1.00 K - 4.44x slower +774.74 μs
JSX 0.50 K - 8.91x slower +1782.62 μs
JSON 0.31 K - 14.21x slower +2977.99 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 67.75 μs 64747.64 μs 351.73 K 136.65 μs
Jason 108.92 μs 71457.93 μs 162.09 K 212.96 μs
Poison 166.65 μs 66850.04 μs 106.00 K 320.00 μs
jsone 176.50 μs 61958.50 μs 95.55 K 326.12 μs
Tiny 191.64 μs 67314.46 μs 79.60 K 390.69 μs, 434.11 μs
JSX 468.26 μs 70754.78 μs 39.67 K 755.63 μs, 784.77 μs
JSON 490.79 μs 82880.06 μs 24.87 K1018.14 μs, 936.74 μs, 55
Memory usage statistics:
Name Memory usage
jiffy 7.98 KB
Jason 79.05 KB - 9.91x memory usage +71.08 KB
Poison 144.62 KB - 18.13x memory usage +136.64 KB
jsone 179.23 KB - 22.47x memory usage +171.25 KB
Tiny 180.59 KB - 22.64x memory usage +172.61 KB
JSX 404.26 KB - 50.68x memory usage +396.28 KB
JSON 513.91 KB - 64.43x memory usage +505.94 KB
**All measurements for memory usage were the same**
##### With input GeoJSON #####
Name ips average deviation median 99th %
jiffy 7.54 0.133 s ±7.22% 0.130 s 0.182 s
jsone 1.25 0.80 s ±6.00% 0.80 s 0.91 s
JSON 0.64 1.55 s ±18.32% 1.43 s 2.29 s
Tiny 0.61 1.64 s ±26.54% 1.40 s 2.33 s
Jason 0.58 1.73 s ±27.85% 1.49 s 2.62 s
Poison 0.43 2.32 s ±4.41% 2.34 s 2.51 s
JSX 0.27 3.64 s ±37.60% 3.82 s 5.37 s
Comparison:
jiffy 7.54
jsone 1.25 - 6.05x slower +0.67 s
JSON 0.64 - 11.70x slower +1.42 s
Tiny 0.61 - 12.40x slower +1.51 s
Jason 0.58 - 13.03x slower +1.59 s
Poison 0.43 - 17.50x slower +2.19 s
JSX 0.27 - 27.48x slower +3.51 s
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.116 s 0.22 s 605 None
jsone 0.67 s 0.91 s 104 None
JSON 1.24 s 2.29 s 56 None
Tiny 1.10 s 2.33 s 56 None
Jason 1.14 s 2.62 s 48 None
Poison 2.10 s 2.51 s 40 None
JSX 1.85 s 5.37 s 24 None
Memory usage statistics:
Name Memory usage
jiffy 0.25 MB
jsone 68.58 MB - 279.88x memory usage +68.34 MB
JSON 239.88 MB - 978.98x memory usage +239.64 MB
Tiny 217.44 MB - 887.38x memory usage +217.19 MB
Jason 193.41 MB - 789.33x memory usage +193.17 MB
Poison 216.03 MB - 881.63x memory usage +215.78 MB
JSX 619.52 MB - 2528.33x memory usage +619.28 MB
**All measurements for memory usage were the same**
##### With input Giphy #####
Name ips average deviation median 99th %
jiffy 489.86 2.04 ms ±209.44% 1.37 ms 27.50 ms
Jason 173.09 5.78 ms ±153.46% 2.55 ms 42.02 ms
Poison 106.76 9.37 ms ±115.53% 4.41 ms 46.71 ms
jsone 95.32 10.49 ms ±106.96% 5.19 ms 47.80 ms
Tiny 80.47 12.43 ms ±104.54% 5.75 ms 53.10 ms
JSX 39.48 25.33 ms ±56.44% 26.01 ms 61.62 ms
JSON 31.45 31.80 ms ±57.84% 31.19 ms 78.05 ms
Comparison:
jiffy 489.86
Jason 173.09 - 2.83x slower +3.74 ms
Poison 106.76 - 4.59x slower +7.33 ms
jsone 95.32 - 5.14x slower +8.45 ms
Tiny 80.47 - 6.09x slower +10.39 ms
JSX 39.48 - 12.41x slower +23.29 ms
JSON 31.45 - 15.58x slower +29.76 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.66 ms 83.62 ms 39.04 K1.38 ms, 1.39 ms, 1.46 ms
Jason 1.20 ms 76.92 ms 13.80 K2.50 ms, 2.53 ms, 1.25 ms
Poison 2.17 ms 69.48 ms 8.51 K4.08 ms, 4.11 ms, 2.35 ms
jsone 2.16 ms 71.35 ms 7.61 K3.95 ms, 5.44 ms, 4.09 ms
Tiny 2.29 ms 81.29 ms 6.42 K6.15 ms, 5.89 ms, 5.66 ms
JSX 5.36 ms 85.79 ms 3.15 K None
JSON 5.25 ms 100.24 ms 2.51 K None
Memory usage statistics:
Name Memory usage
jiffy 0.115 MB
Jason 0.84 MB - 7.32x memory usage +0.73 MB
Poison 1.66 MB - 14.41x memory usage +1.54 MB
jsone 2.19 MB - 19.01x memory usage +2.07 MB
Tiny 2.03 MB - 17.69x memory usage +1.92 MB
JSX 4.80 MB - 41.76x memory usage +4.69 MB
JSON 5.05 MB - 43.93x memory usage +4.94 MB
**All measurements for memory usage were the same**
##### With input GitHub #####
Name ips average deviation median 99th %
jiffy 1904.29 0.53 ms ±81.78% 0.46 ms 1.10 ms
Jason 639.77 1.56 ms ±279.47% 0.74 ms 27.04 ms
Poison 422.43 2.37 ms ±231.26% 1.15 ms 31.85 ms
Tiny 323.07 3.10 ms ±217.32% 1.43 ms 36.75 ms
jsone 293.72 3.40 ms ±198.17% 1.48 ms 34.96 ms
JSX 140.50 7.12 ms ±135.23% 3.16 ms 43.43 ms
JSON 97.19 10.29 ms ±127.90% 4.18 ms 57.36 ms
Comparison:
jiffy 1904.29
Jason 639.77 - 2.98x slower +1.04 ms
Poison 422.43 - 4.51x slower +1.84 ms
Tiny 323.07 - 5.89x slower +2.57 ms
jsone 293.72 - 6.48x slower +2.88 ms
JSX 140.50 - 13.55x slower +6.59 ms
JSON 97.19 - 19.59x slower +9.76 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.22 ms 53.96 ms 151.38 K 0.42 ms
Jason 0.35 ms 67.14 ms 50.98 K0.70 ms, 0.70 ms, 0.72 ms
Poison 0.56 ms 65.97 ms 33.69 K 0.57 ms
Tiny 0.61 ms 73.76 ms 25.75 K1.31 ms, 1.45 ms, 1.33 ms
jsone 0.76 ms 65.61 ms 23.41 K1.47 ms, 1.89 ms, 1.45 ms
JSX 1.59 ms 69.79 ms 11.21 K3.07 ms, 2.73 ms, 3.49 ms
JSON 1.51 ms 89.17 ms 7.75 K2.84 ms, 2.89 ms, 3.42 ms
Memory usage statistics:
Name average deviation median 99th %
jiffy 42.84 KB ±0.00% 42.84 KB 42.84 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
Tiny 534.78 KB ±0.00% 534.78 KB 534.78 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 42.84 KB
Jason 221.29 KB - 5.17x memory usage +178.45 KB
Poison 434.43 KB - 10.14x memory usage +391.59 KB
Tiny 534.78 KB - 12.48x memory usage +491.94 KB
jsone 683.29 KB - 15.95x memory usage +640.45 KB
JSX 1394.26 KB - 32.54x memory usage +1351.42 KB
JSON 1837.95 KB - 42.90x memory usage +1795.10 KB
Extended statistics:
Name minimum maximum sample size mode
jiffy 42.84 KB 42.84 KB 10.87 K 42.84 KB
Jason 221.29 KB 221.29 KB 5.44 K 221.29 KB
Poison 434.43 KB 434.43 KB 3.72 K 434.43 KB
Tiny 534.78 KB 534.78 KB 3.18 K 534.78 KB
jsone 683.29 KB 683.29 KB 3.57 K 683.29 KB
JSX 1393.80 KB 1394.27 KB 1.88 K 1394.27 KB
JSON 1837.95 KB 1837.95 KB 1.60 K 1837.95 KB
##### With input GovTrack #####
Name ips average deviation median 99th %
jiffy 23.60 42.37 ms ±20.65% 40.01 ms 87.51 ms
Poison 5.28 189.43 ms ±11.79% 187.32 ms 249.93 ms
Jason 5.07 197.21 ms ±34.61% 195.53 ms 344.44 ms
Tiny 4.53 220.85 ms ±13.80% 216.59 ms 296.62 ms
jsone 3.92 255.40 ms ±14.92% 255.74 ms 350.78 ms
JSON 1.79 557.99 ms ±20.28% 512.76 ms 831.82 ms
JSX 1.38 722.05 ms ±18.13% 762.31 ms 911.27 ms
Comparison:
jiffy 23.60
Poison 5.28 - 4.47x slower +147.06 ms
Jason 5.07 - 4.65x slower +154.84 ms
Tiny 4.53 - 5.21x slower +178.48 ms
jsone 3.92 - 6.03x slower +213.03 ms
JSON 1.79 - 13.17x slower +515.62 ms
JSX 1.38 - 17.04x slower +679.68 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 23.73 ms 125.63 ms 1.88 K None
Poison 144.47 ms 310.24 ms 424 None
Jason 52.14 ms 389.10 ms 411 None
Tiny 112.71 ms 339.66 ms 365 None
jsone 136.03 ms 386.25 ms 317 None
JSON 415.79 ms 832.96 ms 146 None
JSX 364.07 ms 911.59 ms 114 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
Tiny 44.88 MB - 13.59x memory usage +41.58 MB
jsone 45.34 MB - 13.72x memory usage +42.03 MB
JSON 123.20 MB - 37.30x memory usage +119.89 MB
JSX 94.20 MB - 28.52x 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.82 50.46 ms ±5.78% 50.33 ms 52.96 ms
Jason 14.87 67.25 ms ±4.92% 66.78 ms 78.13 ms
Poison 10.68 93.63 ms ±4.21% 92.90 ms 109.11 ms
jsone 9.30 107.48 ms ±15.58% 99.54 ms 162.48 ms
Tiny 8.46 118.27 ms ±7.59% 116.19 ms 161.72 ms
JSX 5.37 186.25 ms ±11.56% 175.35 ms 265.13 ms
JSON 0.35 2837.56 ms ±35.47% 2795.49 ms 4001.08 ms
Comparison:
jiffy 19.82
Jason 14.87 - 1.33x slower +16.79 ms
Poison 10.68 - 1.86x slower +43.17 ms
jsone 9.30 - 2.13x slower +57.01 ms
Tiny 8.46 - 2.34x slower +67.81 ms
JSX 5.37 - 3.69x slower +135.79 ms
JSON 0.35 - 56.23x slower +2787.10 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 34.63 ms 125.70 ms 1.59 K 50.02 ms
Jason 41.32 ms 116.16 ms 1.19 K None
Poison 75.05 ms 152.24 ms 857 None
jsone 72.02 ms 172.48 ms 747 None
Tiny 86.25 ms 184.44 ms 678 None
JSX 170.22 ms 284.35 ms 432 None
JSON 1708.92 ms 4001.08 ms 32 None
Memory usage statistics:
Name Memory usage
jiffy 0.0128 MB
Jason 0.81 MB - 63.78x memory usage +0.80 MB
Poison 1.48 MB - 115.79x memory usage +1.46 MB
jsone 2.64 MB - 207.13x memory usage +2.63 MB
Tiny 2.26 MB - 176.84x memory usage +2.24 MB
JSX 4.56 MB - 357.70x memory usage +4.55 MB
JSON 237.78 MB - 18640.14x 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.81 1.98 ms ±201.49% 1.39 ms 24.11 ms
Jason 205.36 4.87 ms ±159.04% 2.27 ms 38.35 ms
jsone 126.33 7.92 ms ±125.99% 3.46 ms 43.16 ms
Poison 124.48 8.03 ms ±121.55% 3.89 ms 43.77 ms
Tiny 94.39 10.59 ms ±114.12% 4.90 ms 51.50 ms
JSX 50.05 19.98 ms ±69.07% 10.94 ms 56.53 ms
JSON 35.50 28.17 ms ±64.66% 27.35 ms 75.50 ms
Comparison:
jiffy 503.81
Jason 205.36 - 2.45x slower +2.88 ms
jsone 126.33 - 3.99x slower +5.93 ms
Poison 124.48 - 4.05x slower +6.05 ms
Tiny 94.39 - 5.34x slower +8.61 ms
JSX 50.05 - 10.07x slower +17.99 ms
JSON 35.50 - 14.19x slower +26.18 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.72 ms 64.64 ms 40.13 K1.37 ms, 1.38 ms, 1.37 ms
Jason 1.07 ms 76.27 ms 16.39 K3.28 ms, 2.11 ms, 2.10 ms
jsone 1.61 ms 74.35 ms 10.08 K3.01 ms, 3.05 ms, 2.93 ms
Poison 1.97 ms 67.69 ms 9.93 K4.49 ms, 3.55 ms, 4.32 ms
Tiny 2.02 ms 78.11 ms 7.53 K 4.76 ms
JSX 5.11 ms 94.24 ms 3.99 K None
JSON 4.55 ms 108.96 ms 2.83 K None
Memory usage statistics:
Name Memory usage
jiffy 0.108 MB
Jason 0.76 MB - 7.04x memory usage +0.65 MB
jsone 1.67 MB - 15.48x memory usage +1.56 MB
Poison 1.43 MB - 13.23x memory usage +1.32 MB
Tiny 1.75 MB - 16.17x memory usage +1.64 MB
JSX 3.50 MB - 32.43x memory usage +3.40 MB
JSON 4.54 MB - 42.07x memory usage +4.44 MB
**All measurements for memory usage were the same**
##### With input Pokedex #####
Name ips average deviation median 99th %
jiffy 755.54 1.32 ms ±245.96% 0.92 ms 17.90 ms
Jason 181.01 5.52 ms ±145.34% 2.74 ms 38.88 ms
jsone 145.56 6.87 ms ±141.35% 2.74 ms 42.43 ms
Poison 128.25 7.80 ms ±118.91% 3.81 ms 41.42 ms
Tiny 103.43 9.67 ms ±113.36% 4.57 ms 48.17 ms
JSX 54.82 18.24 ms ±69.57% 10.00 ms 51.87 ms
JSON 51.53 19.41 ms ±82.98% 10.56 ms 67.24 ms
Comparison:
jiffy 755.54
Jason 181.01 - 4.17x slower +4.20 ms
jsone 145.56 - 5.19x slower +5.55 ms
Poison 128.25 - 5.89x slower +6.47 ms
Tiny 103.43 - 7.31x slower +8.35 ms
JSX 54.82 - 13.78x slower +16.92 ms
JSON 51.53 - 14.66x slower +18.08 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.46 ms 67.51 ms 60.13 K0.86 ms, 0.87 ms, 0.87 ms
Jason 1.42 ms 67.14 ms 14.45 K 2.54 ms, 2.57 ms
jsone 1.37 ms 80.75 ms 11.61 K2.49 ms, 3.43 ms, 2.45 ms
Poison 2.03 ms 81.22 ms 10.23 K3.68 ms, 4.48 ms, 4.46 ms
Tiny 2.14 ms 77.59 ms 8.25 K3.80 ms, 4.17 ms, 4.30 ms
JSX 4.44 ms 75.54 ms 4.38 K None
JSON 3.66 ms 88.96 ms 4.11 K 9.55 ms
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
Tiny 1.64 MB ±0.00% 1.64 MB 1.64 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
Tiny 1.64 MB - 32.49x memory usage +1.59 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.52 K 0.0506 MB
Jason 0.78 MB 0.78 MB 1.92 K 0.78 MB
jsone 1.46 MB 1.46 MB 2.15 K 1.46 MB
Poison 1.38 MB 1.38 MB 1.25 K 1.38 MB
Tiny 1.64 MB 1.64 MB 1.10 K 1.64 MB
JSX 3.60 MB 3.60 MB 657 3.60 MB
JSON 2.85 MB 2.85 MB 756 2.85 MB
##### With input Reddit #####
Name ips average deviation median 99th %
jiffy 446.28 2.24 ms ±198.69% 1.50 ms 28.56 ms
Jason 189.99 5.26 ms ±153.69% 2.41 ms 38.40 ms
Poison 124.83 8.01 ms ±123.99% 3.75 ms 44.76 ms
jsone 106.13 9.42 ms ±113.48% 4.26 ms 45.99 ms
Tiny 89.61 11.16 ms ±112.12% 5.07 ms 52.29 ms
JSX 41.24 24.25 ms ±58.95% 25.06 ms 59.04 ms
JSON 29.89 33.46 ms ±57.80% 32.82 ms 82.69 ms
Comparison:
jiffy 446.28
Jason 189.99 - 2.35x slower +3.02 ms
Poison 124.83 - 3.58x slower +5.77 ms
jsone 106.13 - 4.20x slower +7.18 ms
Tiny 89.61 - 4.98x slower +8.92 ms
JSX 41.24 - 10.82x slower +22.01 ms
JSON 29.89 - 14.93x slower +31.21 ms
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.75 ms 76.89 ms 35.57 K 1.49 ms, 1.39 ms
Jason 1.20 ms 74.42 ms 15.14 K1.24 ms, 2.31 ms, 2.26 ms
Poison 1.91 ms 74.40 ms 9.96 K3.59 ms, 4.36 ms, 3.54 ms
jsone 1.97 ms 69.28 ms 8.47 K4.95 ms, 3.64 ms, 4.93 ms
Tiny 2.15 ms 85.88 ms 7.16 K5.23 ms, 4.46 ms, 4.47 ms
JSX 5.64 ms 79.73 ms 3.30 K None
JSON 5.13 ms 112.49 ms 2.39 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
Tiny 1.81 MB ±0.00% 1.81 MB 1.81 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.20x memory usage +0.63 MB
Poison 1.41 MB - 9.39x memory usage +1.26 MB
jsone 1.97 MB - 13.19x memory usage +1.83 MB
Tiny 1.81 MB - 12.09x memory usage +1.66 MB
JSX 4.44 MB - 29.66x memory usage +4.29 MB
JSON 4.83 MB - 32.24x memory usage +4.68 MB
Extended statistics:
Name minimum maximum sample size mode
jiffy 0.150 MB 0.150 MB 2.70 K 0.150 MB
Jason 0.78 MB 0.78 MB 1.61 K 0.78 MB
Poison 1.41 MB 1.41 MB 996 1.41 MB
jsone 1.97 MB 1.97 MB 1.49 K 1.97 MB
Tiny 1.81 MB 1.81 MB 881 1.81 MB
JSX 4.44 MB 4.44 MB 438 4.44 MB
JSON 4.83 MB 4.83 MB 549 4.83 MB
##### With input UTF-8 escaped #####
Name ips average deviation median 99th %
jiffy 7.15 K 139.84 μs ±169.96% 125.65 μs 412.22 μs
Jason 4.11 K 243.52 μs ±558.80% 165.57 μs 634.77 μs
Poison 4.06 K 246.14 μs ±546.66% 177.27 μs 478.99 μs
JSX 2.20 K 454.54 μs ±455.15% 281.00 μs 1387.00 μs
JSON 0.92 K 1086.97 μs ±390.73% 360.22 μs 28126.79 μs
jsone 0.76 K 1323.48 μs ±282.36% 752.77 μs 23364.76 μs
Tiny 0.31 K 3189.79 μs ±214.20% 1332.44 μs 35861.86 μs
Comparison:
jiffy 7.15 K
Jason 4.11 K - 1.74x slower +103.68 μs
Poison 4.06 K - 1.76x slower +106.30 μs
JSX 2.20 K - 3.25x slower +314.70 μs
JSON 0.92 K - 7.77x slower +947.13 μs
jsone 0.76 K - 9.46x slower +1183.64 μs
Tiny 0.31 K - 22.81x slower +3049.96 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 73.44 μs 65122.85 μs 563.64 K 125.61 μs
Jason 85.35 μs 55697.87 μs 325.85 K 162.85 μs
Poison 93.31 μs 66656.20 μs 322.51 K 182.93 μs
JSX 157.67 μs 66458.53 μs 174.95 K 263.12 μs, 263.85 μs
JSON 202.01 μs 73799.81 μs 73.13 K 349.99 μs
jsone 362.37 μs 64813.60 μs 60.24 K 751.20 μs
Tiny 689.18 μs 67343.88 μs 25.04 K1309.65 μs, 1300.74 μs, 1
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
Tiny 604.26 KB - 909.94x memory usage +603.59 KB
**All measurements for memory usage were the same**
##### With input UTF-8 unescaped #####
Name ips average deviation median 99th %
jiffy 7.14 K 140.09 μs ±161.19% 126.26 μs 411.99 μs
Poison 5.50 K 181.79 μs ±178.35% 167.84 μs 424.38 μs
Jason 4.25 K 235.03 μs ±578.36% 160.64 μs 583.59 μs
JSX 2.36 K 424.46 μs ±475.32% 266.40 μs 1060.52 μs
JSON 0.99 K 1011.94 μs ±386.93% 350.17 μs 24378.86 μs
jsone 0.77 K 1303.90 μs ±283.69% 743.91 μs 22437.35 μs
Tiny 0.31 K 3213.24 μs ±216.06% 1323.19 μs 36229.20 μs
Comparison:
jiffy 7.14 K
Poison 5.50 K - 1.30x slower +41.70 μs
Jason 4.25 K - 1.68x slower +94.94 μs
JSX 2.36 K - 3.03x slower +284.37 μs
JSON 0.99 K - 7.22x slower +871.85 μs
jsone 0.77 K - 9.31x slower +1163.81 μs
Tiny 0.31 K - 22.94x slower +3073.15 μs
Extended statistics:
Name minimum maximum sample size mode
jiffy 74.10 μs 52065.84 μs 562.88 K 126.33 μs
Poison 89.95 μs 46034.75 μs 435.90 K 167.77 μs, 167.55 μs
Jason 83.53 μs 67846.88 μs 337.20 K 158.32 μs
JSX 152.06 μs 64306.24 μs 187.24 K 253.43 μs
JSON 197.15 μs 67373.56 μs 78.69 K344.01 μs, 348.10 μs, 344
jsone 355.44 μs 66229.26 μs 61.10 K739.03 μs, 740.25 μs, 739
Tiny 684.12 μs 81615.25 μs 24.80 K 1302.12 μ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
Tiny 599.58 KB - 862.31x memory usage +598.88 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