Repository navigation
Timing tests: convert 4 wall-clock offenders in extraction/languages to the CPU helper (Part of #8423) - #8707
Merged
Merged
Conversation
…to the CPU helper (Part of #8423) Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
Contributor
|
No description provided. |
Contributor
|
No description provided. |
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.
Slice 2 of 4 for #8423: convert 4 of the 5 wall-clock offenders in
tests/extraction/languages/toassert_cpu_below(CPU time, best of 3) with the same bounds (1/3/5 s), and delete them fromWALL_CLOCK_OFFENDERS.Class
A test judges "this is fast" with a raw
perf_counter/monotonicdifference. Siblings: the other 7 entries inWALL_CLOCK_OFFENDERS(cobol_mainframe, core_engine, security_auditing) belong to the other slices.Checklist: partial -- 4 of 12 offenders converted; the Haskell file here and 7 in other directories remain
Lessons for agents
None new.
Remaining slices
tests/extraction/languages/test_calls_out_haskell_juxtaposition_6454.py: two localimport timeblocks (lines ~355, ~383, 3.0 s bounds) becomeassert_cpu_below; delete its entry fromWALL_CLOCK_OFFENDERS(cut here only for the 5-file cap).Tests
test_no_raw_wall_clock_timing_8423.py: all passed (plain pytest from /tmp).ruff format --checkandruff checkclean on changed files.No engine code touched, so no golden bless.
🤖 Generated with Claude Code