Benchmarks › 64 KB, pretty-printed

64 KB, pretty-printed

Overview

Median values for each library. For every metric, lower values are better.

Library Time Instructions Peak memory Allocations
JBird 98.8 μs 2.0M 30.7 MB 668
Foundation 188.3 μs 4.2M 322.4 MB 986
Freddy 198.9 μs 4.1M 30.6 MB 674
SwiftyJSON 660.0 μs 15.4M 116.7 MB 1.4K

All Metrics

The mean of each metric, and its percentiles from p0 (the lowest sample) to p100 (the highest sample). For every metric except throughput, lower values are better.

Time (wall clock) (μs)
Meanp0p50p90p95p99p100Samples
JBird99.687.098.8106.0109.5116.5188.89,332
Foundation187.3163.9188.3194.7197.8207.5314.55,139
Freddy198.4177.7198.9204.9210.0226.6320.54,865
SwiftyJSON661.5596.5660.0679.4691.7721.4764.61,494
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird103.690.5102.7110.6114.2121.4187.69,332
Foundation191.1167.3192.0198.7202.4212.4301.65,139
Freddy202.1181.0202.6209.0214.4230.3309.14,865
SwiftyJSON665.5600.1664.1684.0695.8725.0777.51,494
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird10,0685,29710,12710,69510,91111,31911,5009,332
Foundation5,3493,1805,3155,6075,7115,8716,1015,139
Freddy5,0493,1205,0315,2555,3515,5715,6274,865
SwiftyJSON1,5131,3081,5161,5451,5591,6541,6771,494
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird2,049,2282,046,8132,047,9992,051,0712,061,3112,077,6952,160,8719,332
Foundation4,192,8294,155,2594,190,2074,210,6874,218,8794,296,7034,357,2415,139
Freddy4,112,2784,108,0014,110,3354,122,6234,122,6234,161,5354,353,6944,865
SwiftyJSON15,422,24115,356,83215,409,15115,441,91915,466,49516,236,54316,284,8531,494
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird30,607,76530,048,25630,670,84730,736,38330,736,38430,736,38430,736,3849,332
Foundation326,301,01529,966,336322,437,119569,901,055599,261,183622,329,855629,293,0565,139
Freddy30,520,50430,015,48830,556,15930,556,16030,556,16030,556,16030,556,1604,865
SwiftyJSON116,704,17030,179,328116,654,079186,253,311195,297,279202,375,167204,455,9361,494
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird6686686686686686686689,332
Foundation9869869869869869869875,139
Freddy6746746746746746746744,865
SwiftyJSON1,3841,3841,3841,3841,3841,3841,3861,494
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird343,680343,588343,588343,588343,588343,588343,5889,332
Foundation105,648105,624105,663105,663105,663105,663109,7205,139
Freddy157,376157,345157,345157,345157,345157,345157,3454,865
SwiftyJSON298,126298,024298,239298,239298,239298,239302,1201,494
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird6686686686686686686689,332
Foundation55555555,139
Freddy6746746746746746746744,865
SwiftyJSON4034034034034034034031,494
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird00000009,332
Foundation9819819819819819819825,139
Freddy00000004,865
SwiftyJSON9819819819819819819831,494
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird00000009,332
Foundation93,74493,74493,75993,75993,75993,75997,8405,139
Freddy00000004,865
SwiftyJSON93,74293,74493,75993,75993,75993,75997,8401,494

← 64 KB · All inputs · 256 KB →