Benchmarks › 64 KB, pretty-printed

64 KB, pretty-printed

Overview

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

Library Time Instructions Peak memory Allocations
JBird 96.7 μs 2.0M 30.9 MB 668
Foundation 184.8 μs 4.2M 338.7 MB 986
Freddy 201.9 μs 4.1M 30.8 MB 674
SwiftyJSON 677.4 μs 15.5M 115.0 MB 1.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
JBird96.186.196.798.9101.6110.3134.310,040
Foundation185.0162.5184.8192.6197.1209.0230.65,297
Freddy202.4179.5201.9207.9212.2222.6263.44,851
SwiftyJSON678.3605.0677.4692.7700.4738.3769.71,465
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird97.787.598.3100.6103.8112.1136.510,040
Foundation186.7164.0186.5194.7199.6210.7234.35,297
Freddy204.1181.0203.5209.8214.8224.4265.34,851
SwiftyJSON680.2606.4679.4694.8703.0740.4771.41,465
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird10,4277,44710,35111,03111,26311,51111,61710,040
Foundation5,4134,3365,4155,6515,7355,9916,1545,297
Freddy4,9463,7974,9555,0475,1195,4915,5704,851
SwiftyJSON1,4751,2991,4761,5081,5201,5671,6531,465
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird2,033,6682,030,7442,032,6392,036,7352,050,0472,052,0952,180,26810,040
Foundation4,180,4924,135,7544,177,9194,198,3994,210,6874,288,5114,375,6175,297
Freddy4,142,4994,138,0394,141,0554,155,3914,157,4394,198,3994,351,4154,851
SwiftyJSON15,520,69515,455,94315,499,26315,532,03115,556,60716,351,23116,374,0921,465
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird30,852,26030,375,93630,851,07130,916,60830,916,60830,916,60830,916,60810,040
Foundation335,680,76030,277,632338,690,047585,105,407616,038,399640,155,647647,462,9125,297
Freddy30,787,13530,294,01630,801,91930,801,92030,801,92030,801,92030,801,9204,851
SwiftyJSON115,399,70930,474,240114,950,143182,976,511193,331,199199,917,568199,917,5681,465
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird66866866866866866866810,040
Foundation9869869869869869869875,297
Freddy6746746746746746746744,851
SwiftyJSON1,3841,3841,3841,3841,3841,3841,3861,465
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird343,680343,588343,588343,588343,588343,588343,58810,040
Foundation105,648105,624105,663105,663105,663105,663109,7205,297
Freddy157,376157,345157,345157,345157,345157,345157,3454,851
SwiftyJSON298,126298,024298,239298,239298,239298,239302,1201,465
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird66866866866866866866810,040
Foundation55555555,297
Freddy6746746746746746746744,851
SwiftyJSON4034034034034034034031,465
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird000000010,040
Foundation9819819819819819819825,297
Freddy00000004,851
SwiftyJSON9819819819819819819831,465
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird000000010,040
Foundation93,74493,74493,75993,75993,75993,75997,8405,297
Freddy00000004,851
SwiftyJSON93,74293,74493,75993,75993,75993,75997,8401,465

← 64 KB · All inputs · 256 KB →