HttpArena
Comparisons

Elixir web framework comparison: any two, head to head

phoenix-bandit is quicker than plug-cowboy on 9 of the 11 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 1792 and 1339.

Pick any two of the 2 Elixir entries. Requests per second is the best of three runs and the delta is the first column against the second; every row is the same profile at the same connection count, on the same machine. What each profile measures.

ProfileConnsphoenix-bandit req/secplug-cowboy req/secDeltaphoenix-bandit p99plug-cowboy p99
Baseline4,096486,848210,073+132%10.70ms25.70ms
Pipelined4,096632,232470,931+34%175.10ms395.00ms
Short-lived4,096400,254192,487+108%27.30ms29.10ms
Async Delay32,000547,586187,641+192%29.40ms167.90ms
Latency-10K1,0249,9839,978+0%264.0us319.0us
Latency-1M1,024502,016232,364+116%10465280.0us15151104.0us
Latency-500K/81,02473,55756,101+31%16850944.0us17539072.0us
JSON Comp4,09693,061100,877-8%336.30ms269.00ms
JSON Comp16,38493,569103,450-10%346.30ms255.80ms
JSON TLS4,096165,452153,591+8%68.46ms57.92ms
8Gbit51249,03748,918+0%382.0us529.0us

Common comparisons

phoenix-bandit vs plug-cowboy

Questions

Is phoenix-bandit faster than plug-cowboy?

phoenix-bandit is quicker than plug-cowboy on 9 of the 11 profiles they both run, and behind on 2. On the HTTP/1.1 composite they score 1792 and 1339. Both run on the same machine, in the same round, against the same profiles.

Which Elixir framework is fastest overall?

phoenix-bandit holds the highest HTTP/1.1 composite of the Elixir entries, at 1792. The composite is throughput over the whole suite; if a service is one shape of workload, compare that profile on its own in the table above, because the order changes.

Every Elixir entry

Results updated · Elixir composite ranking · Compare across languages · Other languages · Open the leaderboard