Skip to content

Instantly share code, notes, and snippets.

@cliffom
Last active December 15, 2017 18:58
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 cliffom/f558e3b7daf602c7b097bccb225025d0 to your computer and use it in GitHub Desktop.
Save cliffom/f558e3b7daf602c7b097bccb225025d0 to your computer and use it in GitHub Desktop.
N=1
PHP: 0.089
Ruby: 0.140
Go: 0.008
Elixir: 0.00048
N=10
PHP: 0.092
Ruby: 0.138
Go: 0.006
Elixir: 0.000478
N=100
PHP: 0.091
Ruby: 0.135
Go: 0.006
Elixir: 0.000643
N=1000
PHP: 0.091
Ruby: 0.138
Go: 0.006
Elixir: 0.001299
N=10_000
PHP: 0.099
Ruby: 0.156
Go: 0.012
Elixir: 0.006679
N=100_000
PHP: 0.166
Ruby: 0.287
Go: 0.059
Elixir: 0.059252
N=1_000_000
PHP: 0.732
Ruby: 1.389
Go: 0.399
Elixir: 0.523353
N=10_000_000
PHP: 6.452
Ruby: 12.548
Go: 3.782
Elixir: 5.142541
N=100_000_000
PHP: 1:04.28
Ruby: 2:04.71
Go: 37.837
Elixir: 51.450172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment