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:
| Operating System | macOS |
|---|---|
| CPU Information | Apple M4 Max |
| Number of Available Cores | 16 |
| Available Memory | 128 GB |
| Elixir Version | 1.20.4 |
| Erlang Version | 29.0.4 |
Configuration
Benchmark suite executing with the following configuration:
| :time | 5 s |
|---|---|
| :parallel | 1 |
| :warmup | 2 s |
Statistics
Run Time
| Name | IPS | Average | Deviation | Median | 99th % |
|---|---|---|---|---|---|
| Artifact.envelope/1 | 1579796.72 | 0.00063 ms | ±960.23% | 0.00054 ms | 0.00088 ms |
| Artifact.read/1 | 268.48 | 3.72 ms | ±8.85% | 3.73 ms | 4.55 ms |
| Artifact.write/2 | 195.81 | 5.11 ms | ±10.27% | 5.10 ms | 6.50 ms |
Run Time Comparison
| Name | IPS | Slower |
|---|---|---|
| Artifact.envelope/1 | 1579796.72 | |
| Artifact.read/1 | 268.48 | 5884.17x |
| Artifact.write/2 | 195.81 | 8068.04x |
Memory Usage
| Name | Average | Factor |
|---|---|---|
| Artifact.envelope/1 | 0.00100 MB | |
| Artifact.read/1 | 7.30 MB | 7311.31x |
| Artifact.write/2 | 7.40 MB | 7411.32x |