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.18.4 |
| Erlang Version | 27.3.4.15 |
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 | 1193959.10 | 0.00084 ms | ±943.86% | 0.00058 ms | 0.00146 ms |
| Artifact.read/1 | 295.71 | 3.38 ms | ±4.73% | 3.33 ms | 3.89 ms |
| Artifact.write/2 | 26.75 | 37.38 ms | ±2.81% | 37.04 ms | 41.59 ms |
Run Time Comparison
| Name | IPS | Slower |
|---|---|---|
| Artifact.envelope/1 | 1193959.10 | |
| Artifact.read/1 | 295.71 | 4037.59x |
| Artifact.write/2 | 26.75 | 44633.91x |
Memory Usage
| Name | Average | Factor |
|---|---|---|
| Artifact.envelope/1 | 0.00140 MB | |
| Artifact.read/1 | 3.45 MB | 2466.99x |
| Artifact.write/2 | 30.37 MB | 21737.04x |