Skip to content

Instantly share code, notes, and snippets.

@dougal
Last active October 26, 2016 11:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dougal/4ecff66c90ceb61db5e460cafd579911 to your computer and use it in GitHub Desktop.
Save dougal/4ecff66c90ceb61db5e460cafd579911 to your computer and use it in GitHub Desktop.
Elixir Registry Benchmarks, 2016-10-26, Revision b1d70af
dougal@xeoncopter:~/registry$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
dougal@xeoncopter:~/registry$ uname -a
Linux xeoncopter 4.4.0-42-generic #62-Ubuntu SMP Fri Oct 7 23:11:45 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
dougal@xeoncopter:~/registry$ cat /proc/cpuinfo | grep "model name" | head -n 1
model name : Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz
dougal@xeoncopter:~/registry$ cat /proc/cpuinfo | grep "model name" | wc -l
32 # 16 Physical, 32 Logical.
dougal@xeoncopter:~/registry$ elixir -v
Erlang/OTP 19 [erts-8.1] [source] [64-bit] [smp:32:32] [async-threads:10] [kernel-poll:false]
Elixir 1.3.3
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/erlang.exs
{134997, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/erlang.exs
{97567, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/erlang.exs
{99398, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/erlang.exs
{99826, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/erlang.exs
{184733, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/erlang.exs
{235374, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/erlang.exs
{198464, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/erlang.exs
{160541, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/gproc.exs
{244576, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/gproc.exs
{252256, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/gproc.exs
{238288, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/gproc.exs
{247855, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/gproc.exs
{738413, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/gproc.exs
{781452, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/gproc.exs
{717296, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/gproc.exs
{747711, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/registry.exs
{217323, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/registry.exs
{171680, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/registry.exs
{171111, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench mix run bench/registry.exs
{169097, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/registry.exs
{276718, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/registry.exs
{260103, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/registry.exs
{246102, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench TASKS=8 mix run bench/registry.exs
{259673, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench PARTITIONS=8 TASKS=8 mix run bench/registry.exs
{225737, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench PARTITIONS=8 TASKS=8 mix run bench/registry.exs
{247262, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench PARTITIONS=8 TASKS=8 mix run bench/registry.exs
{265747, :ok}
dougal@xeoncopter:~/registry$ MIX_ENV=bench PARTITIONS=8 TASKS=8 mix run bench/registry.exs
{221591, :ok}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment