-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from hrzndhrn/benchee-1-3
Add updates for benchee 1.3
- Loading branch information
Showing
7 changed files
with
263 additions
and
106 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,208 @@ | ||
Benchmark Example | ||
|
||
Benchmark run from 2023-12-17 06:53:53.740071Z UTC | ||
|
||
## System | ||
|
||
Benchmark suite executing on the following system: | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th style="width: 1%; white-space: nowrap">Operating System</th> | ||
<td>macOS</td> | ||
</tr><tr> | ||
<th style="white-space: nowrap">CPU Information</th> | ||
<td style="white-space: nowrap">Apple M1</td> | ||
</tr><tr> | ||
<th style="white-space: nowrap">Number of Available Cores</th> | ||
<td style="white-space: nowrap">8</td> | ||
</tr><tr> | ||
<th style="white-space: nowrap">Available Memory</th> | ||
<td style="white-space: nowrap">16 GB</td> | ||
</tr><tr> | ||
<th style="white-space: nowrap">Elixir Version</th> | ||
<td style="white-space: nowrap">1.15.7</td> | ||
</tr><tr> | ||
<th style="white-space: nowrap">Erlang Version</th> | ||
<td style="white-space: nowrap">26.2</td> | ||
</tr> | ||
</table> | ||
|
||
## Configuration | ||
|
||
Benchmark suite executing with the following configuration: | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th style="width: 1%">:time</th> | ||
<td style="white-space: nowrap">10 ms</td> | ||
</tr><tr> | ||
<th>:parallel</th> | ||
<td style="white-space: nowrap">1</td> | ||
</tr><tr> | ||
<th>:warmup</th> | ||
<td style="white-space: nowrap">20 ms</td> | ||
</tr> | ||
</table> | ||
|
||
## Statistics | ||
|
||
|
||
|
||
__Input: long_list__ | ||
|
||
Run Time | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">IPS</th> | ||
<th style="text-align: right">Average</th> | ||
<th style="text-align: right">Devitation</th> | ||
<th style="text-align: right">Median</th> | ||
<th style="text-align: right">99th %</th> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap; text-align: right">3.85 K</td> | ||
<td style="white-space: nowrap; text-align: right">259.90 µs</td> | ||
<td style="white-space: nowrap; text-align: right">±29.67%</td> | ||
<td style="white-space: nowrap; text-align: right">226.92 µs</td> | ||
<td style="white-space: nowrap; text-align: right">509 µs</td> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap; text-align: right">2.65 K</td> | ||
<td style="white-space: nowrap; text-align: right">377.94 µs</td> | ||
<td style="white-space: nowrap; text-align: right">±21.63%</td> | ||
<td style="white-space: nowrap; text-align: right">372.46 µs</td> | ||
<td style="white-space: nowrap; text-align: right">567.92 µs</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
Run Time Comparison | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">IPS</th> | ||
<th style="text-align: right">Slower</th> | ||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap;text-align: right">3.85 K</td> | ||
<td> </td> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap; text-align: right">2.65 K</td> | ||
<td style="white-space: nowrap; text-align: right">1.45x</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
|
||
Memory Usage | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">Average</th> | ||
<th style="text-align: right">Factor</th> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap">625 KB</td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap">781.25 KB</td> | ||
<td>1.25x</td> | ||
</tr> | ||
</table> | ||
|
||
|
||
|
||
__Input: short_list__ | ||
|
||
Run Time | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">IPS</th> | ||
<th style="text-align: right">Average</th> | ||
<th style="text-align: right">Devitation</th> | ||
<th style="text-align: right">Median</th> | ||
<th style="text-align: right">99th %</th> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap; text-align: right">7.90 M</td> | ||
<td style="white-space: nowrap; text-align: right">126.51 ns</td> | ||
<td style="white-space: nowrap; text-align: right">±45.72%</td> | ||
<td style="white-space: nowrap; text-align: right">120.90 ns</td> | ||
<td style="white-space: nowrap; text-align: right">146.35 ns</td> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap; text-align: right">7.47 M</td> | ||
<td style="white-space: nowrap; text-align: right">133.86 ns</td> | ||
<td style="white-space: nowrap; text-align: right">±42.20%</td> | ||
<td style="white-space: nowrap; text-align: right">125 ns</td> | ||
<td style="white-space: nowrap; text-align: right">187.50 ns</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
Run Time Comparison | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">IPS</th> | ||
<th style="text-align: right">Slower</th> | ||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap;text-align: right">7.90 M</td> | ||
<td> </td> | ||
</tr> | ||
|
||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap; text-align: right">7.47 M</td> | ||
<td style="white-space: nowrap; text-align: right">1.06x</td> | ||
</tr> | ||
|
||
</table> | ||
|
||
|
||
|
||
Memory Usage | ||
|
||
<table style="width: 1%"> | ||
<tr> | ||
<th>Name</th> | ||
<th style="text-align: right">Average</th> | ||
<th style="text-align: right">Factor</th> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap">flat_map</td> | ||
<td style="white-space: nowrap">640 B</td> | ||
<td> </td> | ||
</tr> | ||
<tr> | ||
<td style="white-space: nowrap">map.flatten</td> | ||
<td style="white-space: nowrap">800 B</td> | ||
<td>1.25x</td> | ||
</tr> | ||
</table> |
Oops, something went wrong.