Files
slither/scripts
Dan GuidoandClaude Opus 4.5 85c6711ec7 feat: add --timing flag for phase-level performance breakdown (#2928)
* feat: add --timing flag for phase-level performance breakdown

Add PhaseTimer utility for instrumenting Slither phases:
- New --timing CLI flag to enable timing collection
- Instruments parse_contracts, analyze_contracts, convert_to_slithir,
  compute_dependency, compute_storage_layout, and detector runs
- Outputs sorted timing report showing total/count/avg per phase

Co-Authored-By: Claude Opus 4.5 <[email protected]>

* feat: add timing infrastructure and fix benchmark compatibility

Add phase-level timing support:
- New --timing flag for slither CLI to capture execution phases
- Timing data exported via --json-types timing
- Benchmark script updated to display phase breakdowns

Replace aave-v3-core with safe-smart-account in benchmarks:
- aave-v3-core requires Node 14/16/18, incompatible with Node 22+
- safe-smart-account uses modern Node.js (22.14.0 per .nvmrc)

Co-Authored-By: Claude Opus 4.5 <[email protected]>

---------

Co-authored-by: Claude Opus 4.5 <[email protected]>
2026-01-19 17:14:48 -05:00
..
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00
2026-01-06 18:58:41 +01:00