Create an Docker image for the bencher CLI - #683
Conversation
🤖 Claude Code ReviewPR: #683 Good — the CLI docker build step structure is consistent with the API docker build. Now I have all the information needed for the review. PR Review: CLI Docker Image & Minimal DependenciesCommits
Overall AssessmentThis is a clean, well-structured PR that adds Docker support for the Positive Observations
Issues1. Docker layer caching — many
|
ec1b51f to
9bde7fc
Compare
|
| Branch | u/ep/cli-docker |
| Testbed | ubuntu-22.04 |
Click to view all benchmark results
| Benchmark | Latency | Benchmark Result microseconds (µs) (Result Δ%) | Upper Boundary microseconds (µs) (Limit %) |
|---|---|---|---|
| Adapter::Json | 📈 view plot 🚷 view threshold | 3.72 µs(+13.33%)Baseline: 3.29 µs | 4.46 µs (83.43%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 3.79 µs(+15.14%)Baseline: 3.29 µs | 4.42 µs (85.84%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 25.94 µs(+2.51%)Baseline: 25.31 µs | 31.20 µs (83.13%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 2.83 µs(+0.87%)Baseline: 2.81 µs | 3.46 µs (81.94%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 2.78 µs(-0.80%)Baseline: 2.81 µs | 3.44 µs (81.05%) |
| head_version_insert/batch/10 | 📈 view plot 🚷 view threshold | 98.74 µs(+2.40%)Baseline: 96.43 µs | 123.61 µs (79.88%) |
| head_version_insert/batch/100 | 📈 view plot 🚷 view threshold | 232.46 µs(+0.22%)Baseline: 231.95 µs | 262.84 µs (88.44%) |
| head_version_insert/batch/255 | 📈 view plot 🚷 view threshold | 456.67 µs(+0.08%)Baseline: 456.31 µs | 492.17 µs (92.79%) |
| head_version_insert/batch/50 | 📈 view plot 🚷 view threshold | 155.92 µs(+0.03%)Baseline: 155.88 µs | 181.82 µs (85.75%) |
| threshold_query/join/10 | 📈 view plot 🚷 view threshold | 138.72 µs(-0.15%)Baseline: 138.93 µs | 168.08 µs (82.53%) |
| threshold_query/join/20 | 📈 view plot 🚷 view threshold | 154.79 µs(+1.14%)Baseline: 153.05 µs | 182.53 µs (84.80%) |
| threshold_query/join/5 | 📈 view plot 🚷 view threshold | 132.58 µs(+0.78%)Baseline: 131.56 µs | 158.24 µs (83.79%) |
| threshold_query/join/50 | 📈 view plot 🚷 view threshold | 195.27 µs(+0.79%)Baseline: 193.73 µs | 226.18 µs (86.33%) |
This changeset creates a Docker (OCI) image for the
bencherCLI.This will allow you to run: