Skip to content

fix(perf): benchmark correctness and CRLF scanning (#735 #746 #745 #740 #747) - #1401

Merged
godofecht merged 12 commits into
mainfrom
fix/issue-735-746-745-740-747-runtime-harness
Oct 7, 2026
Merged

godofecht merged 12 commits into
mainfrom
fix/issue-735-746-745-740-747-runtime-harness

Conversation

@godofecht

@godofecht godofecht commented Oct 6, 2026 •

Copy link
Copy Markdown
Contributor

Part of #735, #745, #746 and #747. Closes none of them.

Changes

Evidence

Rebased onto main 9f1d6d0. Each new check fails against main's code:

Check This branch Main's code
tests/lang/test_stdlib_string_io.flow pass exit=37
tests/scripts/bench_regression_guard.flow 3/3 negative_timing_is_no_data fails
compile_profile/last_unterminated_line_loc pass fail ("loc": 0)
compile_profile/failed_stage_has_no_row (added in this rebase) pass fail

Gates: ./flow tool tests/bench_harness/run.flow 55/0, ./flow tool tests/scripts/compile_profile.flow 7/0, ./flow tool gen_stdlib_docs --check clean, ./flow test-lang 274/0, ./flow test-runtime 34/0, ./flow tool tests/cli/run.flow 152/2. The two CLI failures (jit_hello prints timings, test_mlir sees a fifth MLIR test) are golden drift on main.

No compiler/src change. #1410 also edits scripts/tools/bench_harness/main.flow and is rebased to apply cleanly in either order.

@godofecht
godofecht force-pushed the fix/issue-735-746-745-740-747-runtime-harness branch from 0c8374f to d91b98e Compare October 7, 2026 10:55
@godofecht
godofecht marked this pull request as ready for review October 7, 2026 10:55
godofecht added a commit that referenced this pull request Oct 7, 2026
gpu_graph and gpu_tensor (#1406) both exported GPU_ACCESS_READ, _WRITE and
_READ_WRITE, and a program cannot import two modules that export the same
const. The graph constants are now GPU_GRAPH_ACCESS_*. Added coverage, nav
and stdlib-map entries for gpu_graph, gpu_graph_export and
gpu_graph_kernels, regenerated stdlib-api.md and the LSP completion
golden, and rewrote the Backends section of gpu-graph.md plainly. Prose
fixes the commit hook asked for in gpu-graph.md, gpu_graph_kernels.flow
and one string.flow comment (the same edit as #1401 and #1406).
godofecht added a commit that referenced this pull request Oct 7, 2026
…odules

gpu_stage_codegen reassigned immutable lets (components, uv_type,
tex_type, uv_expr), so the strict check failed and ./flow test-lang had
never run test_gpu_stage_codegen. They are now let mut, and the struct
fields carry commas like the rest of the stdlib. Added coverage, nav and
stdlib-map entries for gpu_resource_types and gpu_stage_codegen,
regenerated stdlib-api.md and the LSP completion golden. Two comments
reworded for the prose hook (string.flow matches #1401, #1406, #1407).
@godofecht
godofecht enabled auto-merge October 7, 2026 17:03
@godofecht
godofecht force-pushed the fix/issue-735-746-745-740-747-runtime-harness branch from d91b98e to ef7bbd6 Compare October 7, 2026 18:11
…docs (#747)

Completion items carry stdlib doc comments; str_line_end and
str_line_next now describe CR and CRLF, so the one completion reply that
lists them changes (expected and accepted.diff). Recorded with
FLOW_LSP_ONLY=completion ./flow tool tests/tools/lsp/run.flow --update.
@godofecht
godofecht added this pull request to the merge queue Oct 7, 2026
Merged via the queue into main with commit 70ceb8f Oct 7, 2026
38 checks passed
@godofecht
godofecht deleted the fix/issue-735-746-745-740-747-runtime-harness branch October 12, 2026 23:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant