Benchmarks › Twitter

Twitter

Overview

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

Library Time Instructions Peak memory Allocations
JBird 1.14 ms 24.2M 34.9 MB 4.1K
Foundation 2.12 ms 44.1M 224.1 MB 6.6K
Freddy 2.23 ms 42.7M 32.5 MB 8.2K
SwiftyJSON 9.61 ms 194.0M 76.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,136.71,045.41,136.61,162.21,176.61,204.21,293.2876
Foundation2,120.21,948.22,121.72,158.62,175.02,201.62,211.5471
Freddy2,235.22,085.22,234.42,271.22,285.62,340.92,409.1446
SwiftyJSON9,611.69,093.69,609.29,773.19,830.410,035.210,301.4104
Time (total CPU) (μs)
Meanp0p50p90p95p99p100Samples
JBird1,138.61,047.01,138.71,164.31,178.61,204.21,295.4876
Foundation2,122.51,952.12,123.82,162.72,177.02,201.62,213.8471
Freddy2,237.62,086.82,236.42,275.32,287.62,342.92,410.9446
SwiftyJSON9,615.89,087.09,617.49,781.29,830.410,043.410,303.8104
Throughput (# / s) (per second)
Meanp0p50p90p95p99p100Samples
JBird880773880897906938957876
Foundation472452472477483506513471
Freddy448415448453455473480446
SwiftyJSON10497104105106108110104
Instructions (count)
Meanp0p50p90p95p99p100Samples
JBird24,248,91924,207,84824,231,93524,297,47124,346,62324,592,38325,314,739876
Foundation44,163,15944,060,22744,138,49544,269,56744,335,10344,761,08744,865,060471
Freddy42,721,61142,671,90442,696,70342,860,54342,958,84743,220,99143,475,225446
SwiftyJSON194,128,975193,638,617193,986,559194,379,775194,510,847198,574,079203,300,793104
Memory (resident peak) (bytes)
Meanp0p50p90p95p99p100Samples
JBird34,830,75732,505,85634,881,53634,881,53634,881,53634,881,53634,881,536876
Foundation225,138,16231,195,136224,133,119383,254,527402,128,895416,808,959421,265,408471
Freddy32,511,25631,997,95232,522,24032,522,24032,522,24032,522,24032,522,240446
SwiftyJSON76,454,75432,702,46476,349,439111,214,591115,474,431118,702,080118,702,080104
Malloc (total) (count)
Meanp0p50p90p95p99p100Samples
JBird4,0514,0514,0514,0514,0514,0514,051876
Foundation6,6386,6366,6376,6376,6376,6376,637471
Freddy8,1868,1878,1878,1878,1878,1878,187446
SwiftyJSON9,7729,7749,7759,7759,7759,7759,775104
Malloc (bytes total) (bytes)
Meanp0p50p90p95p99p100Samples
JBird3,910,6563,910,5243,910,5243,910,5243,910,5243,910,5243,910,524876
Foundation881,937881,890882,175882,175882,175882,175885,986471
Freddy1,549,8241,550,1931,550,1931,550,1931,550,1931,550,1931,550,193446
SwiftyJSON3,159,0603,159,9863,160,0633,160,0633,160,0633,160,0633,160,114104
Free (total) (count)
Meanp0p50p90p95p99p100Samples
JBird4,0514,0514,0514,0514,0514,0514,051876
Foundation503503503503503503503471
Freddy8,1868,1878,1878,1878,1878,1878,187446
SwiftyJSON3,6413,6413,6413,6413,6413,6413,641104
Malloc / free Δ (count)
Meanp0p50p90p95p99p100Samples
JBird0000000876
Foundation6,1346,1336,1346,1346,1346,1346,134471
Freddy0000000446
SwiftyJSON6,1346,1336,1346,1346,1346,1346,134104
Malloc / free Δ (bytes) (bytes)
Meanp0p50p90p95p99p100Samples
JBird0000000876
Foundation669,457669,235669,695669,695669,695669,695673,331471
Freddy0000000446
SwiftyJSON669,440669,235669,363669,363669,363669,363669,363104

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