• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

pantsbuild / pants / 28907746138

08 Jul 2026 12:11AM UTC coverage: 92.943% (-0.01%) from 92.954%
28907746138

push

github

web-flow
perf: Make rule introspection cheaper at import time (#23507)

```consol
Benchmark 1: ./pants --no-pantsd version (rev = 09abda9d8c)
  Time (mean ± σ):      4.388 s ±  0.042 s    [User: 4.238 s, System: 0.163 s]
  Range (min … max):    4.322 s …  4.456 s    15 runs

Benchmark 2: ./pants --no-pantsd version (rev = 5292d5f172)
  Time (mean ± σ):      3.897 s ±  0.065 s    [User: 3.736 s, System: 0.173 s]
  Range (min … max):    3.832 s …  4.103 s    15 runs

Summary
  ./pants --no-pantsd version (rev = 9ed6cd05f8) ran
    1.13 ± 0.02 times faster than ./pants --no-pantsd version (rev = 5292d5f172)
```

This has a followup once free-threading is in as rule ast-parsing is
parallelizable for another easy 0.5s win.

58 of 69 new or added lines in 3 files covered. (84.06%)

4 existing lines in 2 files now uncovered.

94307 of 101468 relevant lines covered (92.94%)

3.69 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

96.15
/src/python/pants/backend/tools/preamble/subsystem.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc