parallel import optimization
An idea to optimize (an inherently serial) load phase: we could load imported projects in parallel. Specifically, typically/idiomatically projects import their targets in a bloc, for example (from ODB compiler): import libs = libcutl%lib{cutl} import libs += libstudxml%lib{studxml} import libs += libstud-optional%lib{stud-optional} So, in the above example, we could start loading libcutl in a separate thread and continue parsing/loading projects in the subsequent import directives. Of course, will need to carefully lock loading of the same project from multiple places in parallel (and…
- Demand 25% × 0.25 = 60 reactions, 0 comments; labelled as performance/regression/priority
- Technical fit 30% × 0.88 = 26build2 is in Language & Toolchain (a focus area); issue needs concurrency, performance, which you listed; project tags you follow: cpp20
- Maintainer engagement 25% × 0.27 = 7comments not checked; filed by a maintainer; project responsiveness 29%
- Feasibility 20% × 0.45 = 9clear scope; has reproduction steps; has code; project onboarding 0%
- #540 parallel import optimizationissue
An idea to optimize (an inherently serial) load phase: we could load imported projects in parallel. Specifically, typically/idiomatically projects import their targets in a bloc, for example (from ODB compiler): import libs = libcutl%lib{cutl} import libs +=…
Reproduce the benchmark or slow path, profile it (perf, VTune or Tracy), and share the numbers on the issue before proposing a change.
