Benchmarks › 5 MB

5 MB

Overview

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

Library Time Instructions Peak memory Allocations
JBird 7.27 ms 156.9M 58.6 MB 52.6K
Foundation 13.90 ms 322.7M 345.0 MB 73.8K
Freddy 16.05 ms 326.9M 44.7 MB 52.6K
SwiftyJSON 55.38 ms 1.3B 135.7 MB 105.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
JBird7,261.86,907.97,266.37,413.87,467.07,577.67,595.8138
Foundation13,920.613,398.713,901.814,106.614,139.414,167.714,167.772
Freddy16,059.915,555.816,048.116,212.016,449.516,583.616,583.663
SwiftyJSON54,418.251,243.855,377.956,098.856,370.556,370.556,370.519
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird7,266.36,900.87,266.37,422.07,467.07,585.87,605.6138
Foundation13,927.213,397.013,910.014,114.814,147.614,177.214,177.272
Freddy16,067.015,553.116,056.316,212.016,457.716,591.216,591.263
SwiftyJSON54,440.651,260.155,377.956,131.656,395.156,395.156,395.119
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird138132138141142145145138
Foundation7271727373757572
Freddy6260626363646463
SwiftyJSON1818181920202019
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird156,893,184156,806,697156,893,183157,024,255157,548,543158,466,047158,549,877138
Foundation322,742,955322,574,166322,699,263323,223,551323,747,839325,408,495325,408,49572
Freddy326,887,326326,670,836326,893,567327,417,855327,679,999328,959,882328,959,88263
SwiftyJSON1,273,881,8691,273,005,6041,274,019,8391,275,068,4151,275,415,0021,275,415,0021,275,415,00219
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird58,527,21055,689,21658,572,80058,572,80058,572,80058,572,80058,572,800138
Foundation351,456,14247,644,672344,981,503601,882,623633,864,191656,146,432656,146,43272
Freddy44,692,69144,335,10444,711,93644,711,93644,711,93644,711,93644,711,93663
SwiftyJSON136,061,35956,934,400135,659,519206,045,183214,581,248214,581,248214,581,24819
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird52,59252,59452,59452,59452,59452,59452,594138
Foundation73,76073,75373,75473,75473,75473,75473,75472
Freddy52,59252,58652,58652,58652,58652,58652,58663
SwiftyJSON105,440105,437105,439105,439105,439105,439105,43919
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird25,370,62425,368,53225,368,53225,368,53225,368,53225,368,53225,368,532138
Foundation7,231,4887,232,4087,232,5367,232,5367,232,5367,232,5367,232,53672
Freddy12,390,40012,388,96912,388,96912,388,96912,388,96912,388,96912,388,96963
SwiftyJSON22,700,03222,692,37622,692,53622,692,53622,692,53622,692,53622,692,53619
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird52,59252,59452,59452,59452,59452,59452,594138
Foundation1111111111111172
Freddy52,59252,58652,58652,58652,58652,58652,58663
SwiftyJSON31,68831,69531,69531,69531,69531,69531,69519
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000138
Foundation73,76073,74273,74373,74373,74373,74373,74372
Freddy000000063
SwiftyJSON73,76073,74273,74473,74473,74473,74473,74419
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000138
Foundation6,961,1526,962,4806,962,6086,962,6086,962,6086,962,6086,962,60872
Freddy000000063
SwiftyJSON6,961,1526,962,4806,962,6406,962,6406,962,6406,962,6406,962,64019

← 1 MB, pretty-printed · All inputs · 5 MB, pretty-printed →