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 33.2 μs 738.8K 30.2 MB 154
Foundation 78.3 μs 1.1M 72.0 MB 154
Freddy 60.4 μs 1.6M 30.2 MB 308
SwiftyJSON 162.0 μs 3.0M 52.2 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
JBird33.428.933.235.737.541.764.124,709
Foundation81.275.478.388.993.3103.2152.011,368
Freddy60.552.960.461.663.770.292.614,773
SwiftyJSON160.2145.8162.0168.1170.6181.4209.85,985
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird37.132.236.939.941.946.665.624,709
Foundation84.778.781.792.897.9107.6136.111,368
Freddy64.356.364.265.567.875.090.714,773
SwiftyJSON163.8149.0165.6171.8175.1185.3211.15,985
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird30,09315,60530,15932,70333,40733,95134,63224,709
Foundation12,3856,57712,79113,11913,15113,20713,26711,368
Freddy16,56610,80116,55916,87917,69518,47918,89814,773
SwiftyJSON6,2584,7686,1716,6876,7396,7996,8575,985
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird739,438735,151738,815739,327739,327757,247832,12224,709
Foundation1,143,7881,136,3921,140,7351,147,9031,149,9511,169,4071,251,88111,368
Freddy1,587,8721,586,4861,587,1991,588,2231,588,2231,616,8951,692,26514,773
SwiftyJSON3,041,2933,033,7013,035,1353,043,3273,063,8073,166,2073,216,6475,985
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird30,239,24329,868,03230,244,86330,261,24830,261,24830,261,24830,261,24824,709
Foundation71,549,63629,917,18471,958,527105,250,815109,445,119112,459,775113,573,88811,368
Freddy30,230,90929,835,26430,244,86330,244,86430,244,86430,244,86430,244,86414,773
SwiftyJSON52,105,03129,999,10452,232,19169,468,15971,696,38373,793,53574,301,4405,985
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird15415415415415415415424,709
Foundation15415415415415415415511,368
Freddy30830830830830830830814,773
SwiftyJSON4564564564564564564595,985
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird90,84890,86490,86490,86490,86490,86490,86424,709
Foundation13,18013,16013,16713,16713,16713,16717,25611,368
Freddy36,49636,48936,48936,48936,48936,48936,48914,773
SwiftyJSON63,64963,64063,64763,64763,64763,64767,7365,985
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird15415415415415415415424,709
Foundation222222211,368
Freddy30830830830830830830814,773
SwiftyJSON3043043043043043043045,985
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird000000024,709
Foundation15215215215215215215311,368
Freddy000000014,773
SwiftyJSON1521521521521521521555,985
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird000000024,709
Foundation4,8824,8644,8674,8674,8674,8678,96011,368
Freddy000000014,773
SwiftyJSON4,8824,8644,8674,8674,8674,8678,9605,985

← Array · All inputs · Integers →