Conversation
|
Claude finished @Saga4's task in 5m 6s —— View job PR Review Summary
Prek ChecksAll checks passed. No linting or formatting issues were found. The 65 mypy errors present across the changed files are pre-existing and not introduced by this PR. Code ReviewThe PR addresses two real problems with JS/TS benchmarking: stdout pipe backpressure from excessive loop iterations, and inadequate subprocess timeouts for slow JS toolchains.
The rationale is well-explained in the comment: 100k iterations × ~200 bytes/marker = 20–200 MB of stdout, creating pipe backpressure that inflated wall-clock time past the subprocess timeout. 5k is a reasonable reduction that still provides stable timing data. Timeout formula ( Old: In production,
The
When However, try:
test_src = test_path.read_text(encoding="utf-8")
except Exception:
return None
try:
module_node = cst.parse_module(test_src)
except Exception:
return test_src # JS/TS: libcst can't parse, return raw sourceThe current approach returns only metadata (function name, file name), not the actual test body, which limits the usefulness for code repair. Fix this → Duplicate DetectionThe identical No other duplicates detected. Test CoverageAll 23 dispatch tests pass. Coverage is low (~7–13%) for the runner files due to integration dependencies (Node.js runtimes), which is expected. The test update in Optimization PRs
|
PR #1764 changed JS_BENCHMARKING_MAX_LOOPS from 100_000 to 1_000 but the test was updated to assert 5_000 instead of 1_000.
No description provided.