Skip to content

Commit a8c355e

Browse files
committed
Redo mainline usage example
1 parent 738fd2d commit a8c355e

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@ Produces the following output on the console:
2626
Operating System: Linux
2727
CPU Information: AMD Ryzen 9 5900X 12-Core Processor
2828
Number of Available Cores: 24
29-
Available memory: 31.25 GB
30-
Elixir 1.16.0-rc.1
31-
Erlang 26.1.2
29+
Available memory: 31.26 GB
30+
Elixir 1.19.0
31+
Erlang 28.1
3232
JIT enabled: true
3333
3434
Benchmark suite executing with the following configuration:
@@ -39,25 +39,26 @@ reduction time: 0 ns
3939
parallel: 1
4040
inputs: none specified
4141
Estimated total run time: 28 s
42+
Excluding outliers: false
4243
4344
Benchmarking flat_map ...
4445
Benchmarking map.flatten ...
4546
Calculating statistics...
4647
Formatting results...
4748
4849
Name ips average deviation median 99th %
49-
flat_map 3.79 K 263.87 μs ±15.49% 259.47 μs 329.29 μs
50-
map.flatten 1.96 K 509.19 μs ±51.36% 395.23 μs 1262.27 μs
50+
flat_map 3.96 K 252.74 μs ±15.64% 247.61 μs 321.85 μs
51+
map.flatten 1.84 K 543.57 μs ±44.18% 414.16 μs 1223.92 μs
5152
5253
Comparison:
53-
flat_map 3.79 K
54-
map.flatten 1.96 K - 1.93x slower +245.32 μs
54+
flat_map 3.96 K
55+
map.flatten 1.84 K - 2.15x slower +290.83 μs
5556
5657
Memory usage statistics:
5758
5859
Name Memory usage
59-
flat_map 625 KB
60-
map.flatten 781.25 KB - 1.25x memory usage +156.25 KB
60+
flat_map 624.97 KB
61+
map.flatten 781.25 KB - 1.25x memory usage +156.28 KB
6162
6263
**All measurements for memory usage were the same**
6364
```

0 commit comments

Comments
 (0)