Benchmarks › Deeply nested

Deeply nested

Overview

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

Library Time Instructions Peak memory Allocations
JBird 32.8 μs 739.3K 30.6 MB 154
Foundation 77.6 μs 1.1M 73.7 MB 154
Freddy 59.8 μs 1.6M 30.6 MB 308
SwiftyJSON 159.9 μs 3.0M 52.9 MB 456

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
JBird32.528.732.833.334.440.261.227,786
Foundation80.175.477.686.187.495.7112.511,998
Freddy59.951.259.861.063.669.694.815,776
SwiftyJSON158.8141.2159.9165.9170.5180.4232.06,160
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird34.130.234.435.036.142.556.227,786
Foundation81.676.879.187.789.297.5119.211,998
Freddy61.552.761.462.765.572.088.515,776
SwiftyJSON160.4142.6161.4167.8172.5182.5224.06,160
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird30,87216,32730,54333,72734,01534,30334,83227,786
Foundation12,5328,88912,90313,15913,19113,22313,26011,998
Freddy16,72010,55016,73517,23117,80718,68719,51215,776
SwiftyJSON6,3114,3116,2596,7356,8556,9917,0806,160
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird739,508738,613739,327739,327739,327756,735803,76227,786
Foundation1,144,2351,139,9791,141,7591,148,9271,148,9271,162,2391,255,37911,998
Freddy1,579,3391,578,5201,579,0071,579,0071,582,0791,596,4151,655,19315,776
SwiftyJSON2,989,4492,981,4842,983,9352,992,1273,000,3193,125,2473,183,3576,160
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird30,568,39230,195,71230,572,54330,588,92830,588,92830,588,92830,588,92827,786
Foundation74,119,71030,212,09673,662,463108,986,367113,377,279117,637,119118,718,46411,998
Freddy30,569,72530,162,94430,572,54330,588,92830,588,92830,588,92830,588,92815,776
SwiftyJSON53,079,18230,261,24852,854,78371,106,55973,662,46375,300,86375,972,6086,160
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird15415415415415415415427,786
Foundation15415415415415415415511,998
Freddy30830830830830830830815,776
SwiftyJSON4564564564564564564596,160
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird90,84890,86490,86490,86490,86490,86490,86427,786
Foundation13,18013,16013,16713,16713,16713,16717,25611,998
Freddy36,49636,48936,48936,48936,48936,48936,48915,776
SwiftyJSON63,64863,64063,64763,64763,64763,64767,7366,160
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird15415415415415415415427,786
Foundation222222211,998
Freddy30830830830830830830815,776
SwiftyJSON3043043043043043043046,160
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird000000027,786
Foundation15215215215215215215311,998
Freddy000000015,776
SwiftyJSON1521521521521521521556,160
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird000000027,786
Foundation4,8824,8644,8674,8674,8674,8678,96011,998
Freddy000000015,776
SwiftyJSON4,8824,8644,8674,8674,8674,8678,9606,160

← Array · All inputs · Integers →