Concurrency Benchmarks
View SourceBenchmark
Concurrency Benchmarks
Compares task scheduling and pool checkout overhead for five short reductions. Results depend on the workload, pool size, and available CPU cores.
System
Benchmark suite executing on the following system:
| Operating System | macOS |
|---|---|
| CPU Information | Apple M5 Pro |
| Number of Available Cores | 18 |
| Available Memory | 48 GB |
| Elixir Version | 1.19.4 |
| Erlang Version | 28.5 |
Configuration
Benchmark suite executing with the following configuration:
| :time | 10 s |
|---|---|
| :parallel | 1 |
| :warmup | 2 s |
Statistics
Run Time
| Name | IPS | Average | Deviation | Median | 99th % |
|---|---|---|---|---|---|
| parallel 5 reduces | 8.90 K | 112.33 µs | ±13.04% | 110.17 µs | 153.96 µs |
| sequential 5 reduces | 7.90 K | 126.59 µs | ±7.44% | 126.54 µs | 153.16 µs |
Run Time Comparison
| Name | IPS | Slower |
|---|---|---|
| parallel 5 reduces | 8.90 K | |
| sequential 5 reduces | 7.90 K | 1.13x |