Benchmarks › 1 MB

1 MB

Overview

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

Library Time Instructions Peak memory Allocations
JBird 1.47 ms 31.4M 36.1 MB 10.5K
Foundation 2.84 ms 64.7M 336.9 MB 14.8K
Freddy 3.27 ms 65.3M 33.4 MB 10.5K
SwiftyJSON 10.78 ms 246.4M 116.1 MB 21.1K

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
JBird1,477.41,332.51,465.31,508.41,525.81,938.42,142.5675
Foundation2,838.52,604.12,844.72,914.32,926.62,990.13,046.5352
Freddy3,266.03,036.53,272.73,311.63,332.13,399.73,444.8306
SwiftyJSON10,742.510,143.410,780.710,977.311,051.011,982.111,982.193
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird1,479.51,334.11,468.41,509.41,529.91,940.52,144.9675
Foundation2,841.32,610.82,846.72,916.42,932.72,971.63,048.2352
Freddy3,268.83,038.63,274.83,315.73,334.13,405.83,446.4306
SwiftyJSON10,747.710,150.210,788.910,985.511,051.011,980.911,980.993
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird678467682694698733750675
Foundation352328352361363373384352
Freddy306290306311312322329306
SwiftyJSON9383939697999993
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird31,388,30931,351,35131,375,35931,408,12731,506,43131,571,96732,691,071675
Foundation64,680,30864,568,60164,651,26364,815,10364,847,87166,191,35966,428,393352
Freddy65,367,77065,322,02865,339,39165,503,23165,535,99966,093,05566,922,704306
SwiftyJSON246,589,418246,199,422246,415,359246,546,431246,677,503259,957,612259,957,61293
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird36,117,30233,816,57636,143,10336,175,87236,175,87236,175,87236,175,872675
Foundation335,761,29231,916,032336,855,039582,483,967611,844,095634,388,479641,482,752352
Freddy33,421,48632,833,53633,374,20733,521,66433,521,66433,521,66433,521,664306
SwiftyJSON115,539,61633,669,120116,064,255180,486,143189,136,895194,789,376194,789,37693
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird10,54010,54210,54210,54210,54210,54210,542675
Foundation14,80414,80714,80714,80714,80714,80714,808352
Freddy10,54010,53610,53610,53610,53610,53610,536306
SwiftyJSON21,14421,14721,14921,14921,14921,14921,14993
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird5,232,6405,232,0205,232,0205,232,0205,232,0205,232,0205,232,020675
Foundation1,470,9911,471,3841,471,4871,471,4871,471,4871,471,4871,475,480352
Freddy2,518,0162,518,2972,518,2972,518,2972,518,2972,518,2972,518,297306
SwiftyJSON4,564,9924,563,4804,563,6404,563,6404,563,6404,563,6404,563,64093
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird10,54010,54210,54210,54210,54210,54210,542675
Foundation9999999352
Freddy10,54010,53610,53610,53610,53610,53610,536306
SwiftyJSON6,3506,3496,3496,3496,3496,3496,34993
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000675
Foundation14,79614,79814,79914,79914,79914,79914,799352
Freddy0000000306
SwiftyJSON14,79614,79814,79914,79914,79914,80014,80093
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000675
Foundation1,398,2841,398,0641,398,7831,398,7831,398,7831,398,7831,402,160352
Freddy0000000306
SwiftyJSON1,398,2721,398,0641,398,2241,398,2241,398,2241,398,2241,398,22493

← 512 KB, pretty-printed · All inputs · 1 MB, pretty-printed →