paradigmxyz
solar
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
perf: optimize non-critical deps for size (#728) Add `profile.release.package` overrides with `opt-level="s"` for dependencies that are not performance-critical. **Results** (testdata/*.sol -j1): | Metric | Before | After | Change | |--------|--------|-------|--------| | Binary size | 4.1 MiB | 3.5 MiB | **-15%** | | Parse time | 57.5 ms | 56.6 ms | ~2% faster (noise) | No performance regression; smaller binary likely improves cache utilization. Co-authored-by: Amp <amp@ampcode.com>
main
2 days ago
perf: optimize non-critical deps for size Add profile.release.package overrides with opt-level="s" for dependencies that are not performance-critical: - annotate-snippets (diagnostics rendering) - clap, clap_builder (CLI parsing) - num-bigint (literal parsing) - regex, regex-automata, regex-syntax - serde_json (JSON output) - tracing-subscriber (logging) Results (testdata/*.sol -j1): - Binary size: 4.1 MiB → 3.5 MiB (-15%) - Parse time: 57.5 ms → 56.6 ms (~2% faster, within noise) Amp-Thread-ID: https://ampcode.com/threads/T-019bfc64-1bce-774c-b280-2b7c98f2d008 Co-authored-by: Amp <amp@ampcode.com>
dani/opt-size-deps
2 days ago
perf: optimize non-critical deps for size Add profile.release.package overrides with opt-level="s" for dependencies that are not performance-critical: - annotate-snippets (diagnostics rendering) - clap, clap_builder (CLI parsing) - num-bigint (literal parsing) - once_map - regex, regex-automata, regex-syntax - serde_json (JSON output) - tracing-subscriber (logging) Results (testdata/*.sol -j1): - Binary size: 4.1 MiB → 3.5 MiB (-15%) - Parse time: 57.5 ms → 56.6 ms (~2% faster, within noise) Amp-Thread-ID: https://ampcode.com/threads/T-019bfc64-1bce-774c-b280-2b7c98f2d008 Co-authored-by: Amp <amp@ampcode.com>
dani/opt-size-deps
2 days ago
perf: optimize non-critical deps for size Add profile.release.package overrides with opt-level="s" for dependencies that are not performance-critical: - annotate-snippets (diagnostics rendering) - clap, clap_builder (CLI parsing) - num-bigint (literal parsing) - once_map - regex, regex-automata, regex-syntax - serde_json (JSON output) - tracing-subscriber (logging) Results (testdata/*.sol -j1): - Binary size: 4.1 MiB → 3.5 MiB (-15%) - Parse time: 57.5 ms → 56.6 ms (~2% faster, within noise) Amp-Thread-ID: https://ampcode.com/threads/T-019bfc64-1bce-774c-b280-2b7c98f2d008 Co-authored-by: Amp <amp@ampcode.com>
dani/opt-size-deps
2 days ago
perf: use thin LTO for dist profile (#727) Benchmarks on `testdata/*.sol` show no meaningful difference between fat and thin LTO, while thin LTO compiles faster. ## Results (hyperfine, 2 runs) ### Run 1 | LTO Type | `-j1` (single-threaded) | default (parallel) | |----------|-------------------------|-------------------| | **fat** | 113.9 ms ± 2.8 ms | 92.5 ms ± 1.8 ms | | **thin** | 114.2 ms ± 2.4 ms | 95.8 ms ± 2.2 ms | ### Run 2 | LTO Type | `-j1` (single-threaded) | default (parallel) | |----------|-------------------------|-------------------| | **fat** | 114.2 ms ± 4.1 ms | 92.4 ms ± 2.6 ms | | **thin** | 110.5 ms ± 2.2 ms | 91.8 ms ± 2.3 ms | Binary size unchanged at 7.2M. Co-authored-by: Amp <amp@ampcode.com>
main
2 days ago
perf: use thin LTO for dist profile Benchmarks on testdata/*.sol show no meaningful difference between fat and thin LTO, while thin LTO compiles faster. Results (hyperfine, 2 runs averaged): | LTO Type | -j1 (single-threaded) | default (parallel) | |----------|----------------------|-------------------| | fat | ~114 ms | ~92 ms | | thin | ~112 ms | ~92 ms | Binary size unchanged at 7.2M. Amp-Thread-ID: https://ampcode.com/threads/T-019bfc41-7890-741b-a1af-a872ce7b964c Co-authored-by: Amp <amp@ampcode.com>
dani/thin-lto-dist
2 days ago
perf: use thin LTO for dist profile Benchmarks on testdata/*.sol show no meaningful difference between fat and thin LTO, while thin LTO compiles faster. Results (hyperfine, 2 runs averaged): | LTO Type | -j1 (single-threaded) | default (parallel) | |----------|----------------------|-------------------| | fat | ~114 ms | ~92 ms | | thin | ~112 ms | ~92 ms | Binary size unchanged at 7.2M. Amp-Thread-ID: https://ampcode.com/threads/T-019bfc41-7890-741b-a1af-a872ce7b964c Co-authored-by: Amp <amp@ampcode.com>
dani/thin-lto-dist
2 days ago
wipnowork
dani/pgo
2 days ago
Active Branches
feat: PGO
last run
2 days ago
#726
CodSpeed Performance Gauge
0%
feat(codegen): add solar-codegen crate with MIR and EVM codegen
last run
10 days ago
#693
CodSpeed Performance Gauge
0%
feat(hir): assembly to hir
last run
14 days ago
#652
CodSpeed Performance Gauge
0%
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs