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

pantsbuild / pants / 29081159055

10 Jul 2026 08:52AM UTC coverage: 92.97% (+0.001%) from 92.969%
29081159055

push

github

web-flow
Perf: lazy init the bootstrap scheduler (#23513)

Shaves of about 0.1s startup time. The second commit is
1. Preparatory work for when source plugins are imported in parallell,
regular sequential import leaves perf on the table
2. If the python backend is not used, in which case importing pex-rules
is wasted work. Not sure if those users exists, though.

I intend to introduce paralllel backend imports after
https://github.com/pantsbuild/pants/pull/23477.

I do not think this conflicts in spirit with
https://github.com/pantsbuild/pants/pull/21991. It does conflict in
direction with a comment here:
https://github.com/pantsbuild/pants/pull/11568, however I find
https://github.com/pantsbuild/pants/issues/10360 to have
resolved/obsoleted the motivation for the bootstrap scheduler there as
well.

65 of 66 new or added lines in 5 files covered. (98.48%)

94537 of 101685 relevant lines covered (92.97%)

3.68 hits per line

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

96.3
/src/python/pants/init/plugin_resolver_rules.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