How skygod07/arm works
Arm AI Benchmark Lab is a benchmarking and profiling product with both an interactive CLI and a React dashboard backed by a FastAPI service. The primary dashboard workflow selects a workload, gathers host hardware information, accepts run parameters, requests a benchmark, and presents metric comparisons and visualizations. The backend benchmarks tensor workloads and calculates baseline-versus-optimized metrics; the CLI also launches CPU/SIMD and memory-stride experiments. UI wiring beyond shown excerpts and unsampled experiment internals are represented only where the README or source index supports the relationship.
Main entry points: App.jsx Dashboard App · cli.py Interactive CLI · api.py REST API · benchmark_engine.py Benchmark Engine
Components 17
User Interfaces
- Interactive CLI
cli.py - Dashboard App
src/App.jsx - React Entry
src/main.jsx - Workload Selector
src/components/WorkloadSelector.jsx - Run Controls
src/components/WorkloadControls.jsx - Metric Cards
src/components/MetricCard.jsx - Comparison Table
src/components/ComparisonTable.jsx - Optimization Radar
src/components/OptimizationRadar.jsx - Hardware Card
src/components/SystemHardwareCard.jsx - UI Workload Defaults
src/data/mockData.js
API Service
- REST API
src/backend/api.py
Benchmark Engine
- Workload Definitions
src/backend/models.py - Hardware Profiler
src/backend/system_info.py - Benchmark Engine
src/backend/benchmark_engine.py
Micro-Experiments
- Scalar SIMD Experiment
experiments/01_cpu_baseline/scalar_vs_vector.py - Cache Stride Experiment
experiments/02_memory/cache_stride_access.py
Other components
- Engineer
Connections 22
- Engineer → Interactive CLI: runs
README.md - Engineer → Dashboard App: uses
README.md - React Entry → Dashboard App: renders
src/main.jsx - Dashboard App → REST API: requests benchmarks
src/App.jsx - Dashboard App → REST API: requests system info
src/App.jsx - Dashboard App → Workload Selector: renders
src/App.jsx - Dashboard App → Run Controls: renders
src/App.jsx - Dashboard App → Metric Cards: renders
src/App.jsx - Dashboard App → Comparison Table: renders
src/App.jsx - Dashboard App → Optimization Radar: renders
src/App.jsx - Dashboard App → Hardware Card: renders
src/App.jsx - Dashboard App → UI Workload Defaults: reads defaults
src/App.jsx - REST API → Workload Definitions: validates workload
src/backend/api.py - REST API → Benchmark Engine: runs benchmark
src/backend/api.py - REST API → Hardware Profiler: gets system profile
src/backend/api.py - Benchmark Engine → Workload Definitions: reads definitions
src/backend/benchmark_engine.py - Benchmark Engine → Hardware Profiler: gets host profile
src/backend/benchmark_engine.py - Interactive CLI → Hardware Profiler: profiles host
cli.py - Interactive CLI → Workload Definitions: lists workloads
cli.py - Interactive CLI → Benchmark Engine: runs and reports
cli.py - Interactive CLI → Scalar SIMD Experiment: runs experiment
cli.py - Interactive CLI → Cache Stride Experiment: runs experiment
cli.py