Current section
Files
Jump to
Current section
Files
bench/output/artifact.md
Benchmark
Envelope and round-trip cost over a 100-entry artifact, which the build
pays once per file written and the cache pays once per file on every
reload.
## 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 M4 Max</td>
</tr><tr>
<th style="white-space: nowrap">Number of Available Cores</th>
<td style="white-space: nowrap">16</td>
</tr><tr>
<th style="white-space: nowrap">Available Memory</th>
<td style="white-space: nowrap">128 GB</td>
</tr><tr>
<th style="white-space: nowrap">Elixir Version</th>
<td style="white-space: nowrap">1.20.4</td>
</tr><tr>
<th style="white-space: nowrap">Erlang Version</th>
<td style="white-space: nowrap">29.0.4</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">5 s</td>
</tr><tr>
<th>:parallel</th>
<td style="white-space: nowrap">1</td>
</tr><tr>
<th>:warmup</th>
<td style="white-space: nowrap">2 s</td>
</tr>
</table>
## Statistics
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">Deviation</th>
<th style="text-align: right">Median</th>
<th style="text-align: right">99th %</th>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.envelope/1</td>
<td style="white-space: nowrap; text-align: right">1579796.72</td>
<td style="white-space: nowrap; text-align: right">0.00063 ms</td>
<td style="white-space: nowrap; text-align: right">±960.23%</td>
<td style="white-space: nowrap; text-align: right">0.00054 ms</td>
<td style="white-space: nowrap; text-align: right">0.00088 ms</td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.read/1</td>
<td style="white-space: nowrap; text-align: right">268.48</td>
<td style="white-space: nowrap; text-align: right">3.72 ms</td>
<td style="white-space: nowrap; text-align: right">±8.85%</td>
<td style="white-space: nowrap; text-align: right">3.73 ms</td>
<td style="white-space: nowrap; text-align: right">4.55 ms</td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.write/2</td>
<td style="white-space: nowrap; text-align: right">195.81</td>
<td style="white-space: nowrap; text-align: right">5.11 ms</td>
<td style="white-space: nowrap; text-align: right">±10.27%</td>
<td style="white-space: nowrap; text-align: right">5.10 ms</td>
<td style="white-space: nowrap; text-align: right">6.50 ms</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">Artifact.envelope/1</td>
<td style="white-space: nowrap;text-align: right">1579796.72</td>
<td> </td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.read/1</td>
<td style="white-space: nowrap; text-align: right">268.48</td>
<td style="white-space: nowrap; text-align: right">5884.17x</td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.write/2</td>
<td style="white-space: nowrap; text-align: right">195.81</td>
<td style="white-space: nowrap; text-align: right">8068.04x</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">Artifact.envelope/1</td>
<td style="white-space: nowrap">0.00100 MB</td>
<td> </td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.read/1</td>
<td style="white-space: nowrap">7.30 MB</td>
<td>7311.31x</td>
</tr>
<tr>
<td style="white-space: nowrap">Artifact.write/2</td>
<td style="white-space: nowrap">7.40 MB</td>
<td>7411.32x</td>
</tr>
</table>