Repository navigation
Reduce pipeline compile time with direct docstring parsing - #175
Merged
Merged
Conversation
This was referenced Sep 29, 2026
trissim
marked this pull request as ready for review
September 29, 2026 13:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The official 30-case one-well sweep spent 100.1 s in compilation. This updates the python-introspect submodule to OpenHCSDev/python-introspect#4, which removes source/AST work that returned the same docstring parser result. No OpenHCS runtime or benchmark path changes.
In a targeted A/B/A check, ExampleFly compilation was 3.989 → 2.260 → 3.976 s (old/direct/old), and advanced segmentation was 6.259 → 3.176 → 6.303 s. In the full official30 fresh-server sweep, all 30 cases completed and compiled faster: compile sum 100.065 → 58.632 s, observed total sum 375.020 → 311.858 s. The patch has no runtime execution path; execution and startup differences were not attributed to it. The upstream suite passes (127 tests), and 114 real CellProfiler callable docstrings had identical parser results.
This PR is ready for review; merge the upstream dependency PR before landing this submodule update. Closes #174. Upstream issue: python-introspect#3.
The paired CSVs, native CP summary, native-relative figures, and measurement caveats are committed in
benchmark/results/perf_direct_docstring_20260929.