Gale.Bench.Server (Gale v0.1.1)

Copy Markdown View Source

Fresh Elixir/HTTP server implementations for benchmarking. Pure Elixir, NIF-accelerated, and comparison against Bandit/Cowboy.

Summary

Functions

nif_http1(port, n \\ 1000)

nif_http2(port, n \\ 500)

nif_http3(port, n \\ 500)

nif_ws(port, n \\ 1000)

nif_wt(port, protocol \\ :h3, n \\ 500)

pure_elixir_http1(port, n \\ 1000)

pure_elixir_http2(port, n \\ 500)

pure_elixir_http3(port, n \\ 500)

pure_elixir_ws(port, n \\ 1000)

pure_elixir_wt(port, protocol \\ :h2, n \\ 500)

qpack_elixir(headers, iters)

qpack_hpax(headers, iters)

qpack_rust(iters)

qpack_zig_nif(headers, iters)

rust_h1_server(port, iters)