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.46 ms 31.5M 38.7 MB 10.5K
Foundation 2.79 ms 64.8M 339.0 MB 14.8K
Freddy 3.19 ms 64.8M 33.0 MB 10.5K
SwiftyJSON 10.16 ms 247.3M 119.5 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,481.01,295.01,462.31,550.31,596.41,718.31,781.8671
Foundation2,800.82,580.52,793.52,848.82,879.53,512.33,795.4356
Freddy3,213.92,926.23,192.83,289.13,354.63,792.94,256.4310
SwiftyJSON10,218.59,758.410,158.110,371.110,453.012,881.712,881.798
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird1,485.81,304.61,467.41,559.61,601.51,722.41,786.0671
Foundation2,806.22,584.32,797.62,850.82,883.63,526.73,804.3356
Freddy3,219.42,930.13,199.03,297.33,366.93,801.14,266.9310
SwiftyJSON10,227.49,769.410,166.310,379.310,461.212,892.212,892.298
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird676561684697702731772671
Foundation358263358368370379388356
Freddy311235313317320333342310
SwiftyJSON98789810010010210298
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird31,540,38431,514,94231,539,19931,555,58331,621,11931,719,42332,866,663671
Foundation64,870,97564,768,27164,847,87165,011,71165,044,47965,929,21566,054,230356
Freddy64,779,79964,725,31364,782,33564,913,40764,913,40765,273,85566,049,586310
SwiftyJSON247,477,311247,157,417247,332,863247,595,007248,250,367252,258,349252,258,34998
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird38,506,63633,521,66438,666,23938,682,62438,682,62438,682,62438,682,624671
Foundation339,033,05331,621,120338,952,191586,153,983617,086,975640,679,935647,528,448356
Freddy33,021,52932,538,62433,030,14433,030,14433,030,14433,030,14433,030,144310
SwiftyJSON119,830,06833,669,120119,537,663187,826,175196,214,783204,783,616204,783,61698
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird10,54010,54210,54210,54210,54210,54210,542671
Foundation14,80414,80714,80714,80714,80714,80714,808356
Freddy10,54010,53610,53610,53610,53610,53610,536310
SwiftyJSON21,14421,14721,14921,14921,14921,14921,14998
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird5,232,6405,232,0205,232,0205,232,0205,232,0205,232,0205,232,020671
Foundation1,470,9901,471,3841,471,4871,471,4871,471,4871,471,4871,475,480356
Freddy2,518,0162,518,2972,518,2972,518,2972,518,2972,518,2972,518,297310
SwiftyJSON4,564,9924,563,4804,563,6404,563,6404,563,6404,563,6404,563,64098
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird10,54010,54210,54210,54210,54210,54210,542671
Foundation9999999356
Freddy10,54010,53610,53610,53610,53610,53610,536310
SwiftyJSON6,3506,3496,3496,3496,3496,3496,34998
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000671
Foundation14,79614,79814,79914,79914,79914,79914,799356
Freddy0000000310
SwiftyJSON14,79614,79814,79914,79914,79914,80014,80098
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000671
Foundation1,398,2841,398,0641,398,7831,398,7831,398,7831,398,7831,402,160356
Freddy0000000310
SwiftyJSON1,398,2721,398,0641,398,2241,398,2241,398,2241,398,2241,398,22498

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