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.23 ms 157.5M 58.2 MB 52.6K
Foundation 14.07 ms 323.7M 343.9 MB 73.8K
Freddy 15.94 ms 323.7M 44.4 MB 52.6K
SwiftyJSON 51.87 ms 1.2B 135.4 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,252.16,825.77,233.57,442.47,675.97,843.87,878.4138
Foundation14,141.313,535.314,065.714,704.614,852.115,228.415,228.471
Freddy15,950.515,363.015,941.616,203.816,244.717,206.517,206.563
SwiftyJSON51,976.651,132.551,871.752,559.952,625.453,102.853,102.820
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird7,260.96,825.87,241.77,450.67,680.07,856.17,888.4138
Foundation14,152.813,545.714,073.914,721.014,868.515,252.015,252.071
Freddy15,962.015,365.115,958.016,220.216,261.117,222.317,222.363
SwiftyJSON52,012.651,155.751,904.552,592.652,658.253,133.553,133.520
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird138127138141143145147138
Foundation7166717273747471
Freddy6358636464656563
SwiftyJSON1919191919202020
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird157,580,837157,488,398157,548,543157,679,615158,203,903159,121,407159,155,860138
Foundation323,823,529323,609,195323,747,839324,796,415324,796,415326,939,470326,939,47071
Freddy323,716,632323,673,955323,747,839324,272,127324,534,271324,778,422324,778,42263
SwiftyJSON1,216,348,1601,215,645,6121,216,348,1591,217,396,7351,217,885,9961,217,885,9961,217,885,99620
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird58,167,71255,361,53658,195,96858,195,96858,195,96858,195,96858,195,968138
Foundation347,179,49846,071,808343,932,927590,348,287621,281,279653,017,088653,017,08871
Freddy44,360,85044,023,80844,367,87244,367,87244,367,87244,367,87244,367,87263
SwiftyJSON139,611,34156,786,944135,397,375204,472,319213,254,143221,904,896221,904,89620
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird52,59252,59452,59452,59452,59452,59452,594138
Foundation73,76073,75373,75473,75473,75473,75473,75471
Freddy52,59252,58652,58652,58652,58652,58652,58663
SwiftyJSON105,440105,437105,439105,439105,439105,439105,43920
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,53671
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,53620
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird52,59252,59452,59452,59452,59452,59452,594138
Foundation1111111111111171
Freddy52,59252,58652,58652,58652,58652,58652,58663
SwiftyJSON31,68831,69531,69531,69531,69531,69531,69520
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000138
Foundation73,76073,74273,74373,74373,74373,74373,74371
Freddy000000063
SwiftyJSON73,76073,74273,74473,74473,74473,74473,74420
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000138
Foundation6,961,1526,962,4806,962,6086,962,6086,962,6086,962,6086,962,60871
Freddy000000063
SwiftyJSON6,961,1526,962,4806,962,6406,962,6406,962,6406,962,6406,962,64020

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