Add the ability for a Testbed to have a Spec#673
Conversation
🤖 Claude Code ReviewPR: #673 I now have a thorough understanding of the full diff. Let me write the review. Pull Request Review: Testbed Spec FeatureSummaryThis PR adds a "spec" (hardware specification) field to testbeds, allowing users to associate a hardware spec with a testbed and use specs to filter performance data. The changes span the full stack: database migration, Rust API/schema, CLI, and frontend console. Issues and Concerns1. Bug:
|
|
| Branch | u/ep/testbed-spec |
| 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.83 µs(+9.10%)Baseline: 3.51 µs | 4.68 µs (81.85%) |
| Adapter::Magic (JSON) | 📈 view plot 🚷 view threshold | 3.78 µs(+7.83%)Baseline: 3.51 µs | 4.61 µs (82.08%) |
| Adapter::Magic (Rust) | 📈 view plot 🚷 view threshold | 25.42 µs(-1.17%)Baseline: 25.72 µs | 29.48 µs (86.22%) |
| Adapter::Rust | 📈 view plot 🚷 view threshold | 2.90 µs(+3.67%)Baseline: 2.80 µs | 3.16 µs (91.84%) |
| Adapter::RustBench | 📈 view plot 🚷 view threshold | 2.91 µs(+3.80%)Baseline: 2.81 µs | 3.17 µs (91.87%) |
| head_version_insert/batch/10 | 📈 view plot 🚷 view threshold | 95.14 µs(+4.40%)Baseline: 91.13 µs | 112.15 µs (84.83%) |
| head_version_insert/batch/100 | 📈 view plot 🚷 view threshold | 231.60 µs(+1.58%)Baseline: 228.01 µs | 247.86 µs (93.44%) |
| head_version_insert/batch/255 | 📈 view plot 🚷 view threshold | 455.48 µs(+0.73%)Baseline: 452.16 µs | 484.09 µs (94.09%) |
| head_version_insert/batch/50 | 📈 view plot 🚷 view threshold | 154.32 µs(+1.89%)Baseline: 151.46 µs | 172.57 µs (89.42%) |
| threshold_query/join/10 | 📈 view plot 🚷 view threshold | 138.48 µs(+2.33%)Baseline: 135.33 µs | 156.95 µs (88.23%) |
| threshold_query/join/20 | 📈 view plot 🚷 view threshold | 151.65 µs(+1.11%)Baseline: 149.98 µs | 170.52 µs (88.93%) |
| threshold_query/join/5 | 📈 view plot 🚷 view threshold | 130.73 µs(+2.00%)Baseline: 128.17 µs | 149.54 µs (87.42%) |
| threshold_query/join/50 | 📈 view plot 🚷 view threshold | 194.64 µs(+1.86%)Baseline: 191.08 µs | 213.01 µs (91.38%) |
This changeset adds the ability for a Testbed to have an associated Spec.