Benchmarks › Twitter

Twitter

Overview

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

Library Time Instructions Peak memory Allocations
JBird 1.15 ms 24.3M 37.2 MB 4.1K
Foundation 2.18 ms 44.2M 218.0 MB 6.6K
Freddy 2.29 ms 42.4M 32.4 MB 8.2K
SwiftyJSON 9.43 ms 196.1M 77.3 MB 9.8K

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,166.61,056.31,145.91,241.11,262.61,315.81,389.6851
Foundation2,191.21,956.82,183.22,302.02,332.72,469.92,496.6454
Freddy2,304.72,061.62,289.72,439.22,504.72,598.92,649.3432
SwiftyJSON9,392.98,803.29,429.09,568.39,584.69,682.99,804.4107
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird1,171.11,059.81,150.01,246.21,267.71,316.91,394.6851
Foundation2,196.21,962.22,189.32,306.02,336.82,467.82,517.0454
Freddy2,309.42,065.92,295.82,443.32,502.72,594.82,664.5432
SwiftyJSON9,401.58,804.99,437.29,576.49,601.09,691.19,808.9107
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird859720873889894921947851
Foundation457401458478481499511454
Freddy435377437454456465485432
SwiftyJSON107102106109110112114107
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird24,292,91924,255,67024,281,08724,330,23924,379,39124,592,38325,362,382851
Foundation44,255,49444,155,54444,236,79944,367,87144,433,40744,695,55144,966,158454
Freddy42,405,96442,358,39542,401,79142,532,86342,631,16742,663,93543,133,553432
SwiftyJSON196,125,974195,655,867196,083,711196,345,855196,476,927199,229,439201,222,570107
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird36,687,89632,227,32837,158,91137,208,06437,208,06437,208,06437,208,064851
Foundation217,718,76630,785,536217,972,735365,953,023386,662,399401,604,607405,307,392454
Freddy32,384,00031,866,88032,391,16832,391,16832,391,16832,391,16832,391,168432
SwiftyJSON77,348,63432,325,63277,266,943112,525,311116,916,223120,717,311121,651,200107
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird4,0514,0514,0514,0514,0514,0514,051851
Foundation6,6386,6366,6376,6376,6376,6376,637454
Freddy8,1868,1878,1878,1878,1878,1878,187432
SwiftyJSON9,7729,7749,7759,7759,7759,7759,775107
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird3,910,6563,910,5243,910,5243,910,5243,910,5243,910,5243,910,524851
Foundation881,929881,890882,175882,175882,175882,175885,986454
Freddy1,549,8241,550,1931,550,1931,550,1931,550,1931,550,1931,550,193432
SwiftyJSON3,159,0593,159,9863,160,0633,160,0633,160,0633,160,0633,160,114107
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird4,0514,0514,0514,0514,0514,0514,051851
Foundation503503503503503503503454
Freddy8,1868,1878,1878,1878,1878,1878,187432
SwiftyJSON3,6413,6413,6413,6413,6413,6413,641107
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000851
Foundation6,1346,1336,1346,1346,1346,1346,134454
Freddy0000000432
SwiftyJSON6,1346,1336,1346,1346,1346,1346,134107
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000851
Foundation669,449669,235669,695669,695669,695669,695673,331454
Freddy0000000432
SwiftyJSON669,440669,235669,363669,363669,363669,363669,363107

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