Created
July 3, 2018 22:33
-
-
Save tallysmartins/ef36d56cf31d4f8309af60c295507703 to your computer and use it in GitHub Desktop.
Repo.all/2 benchmark
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Operating System: Linux | |
CPU Information: Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz | |
Number of Available Cores: 4 | |
Available memory: 15.49 GB | |
Elixir 1.6.4 | |
Erlang 20.3 | |
Benchmark suite executing with the following configuration: | |
warmup: 2 s | |
time: 10 s | |
parallel: 1 | |
inputs: none specified | |
Estimated total run time: 24 s | |
Benchmarking MySQL Repo.all/2... | |
Benchmarking Pg Repo.all/2... | |
Name ips average deviation median 99th % | |
MySQL Repo.all/2 33.75 29.63 ms ±10.54% 29.52 ms 38.03 ms | |
Pg Repo.all/2 11.48 87.12 ms ±5.79% 87.62 ms 109.92 ms | |
Comparison: | |
MySQL Repo.all/2 33.75 | |
Pg Repo.all/2 11.48 - 2.94x slower |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment