Repository navigation
test(wasm): raise the browser REPL gzip budget to 16,500,000 - #2355
Merged
Merged
Conversation
Co-Authored-By: jason.han <hanhuijun@gmail.com>
Contributor
Author
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
4 of 6 tasks
5 of 6 tasks
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.
What and why
replGzipBudgetintests/wasm/browser_repl_test.gomoves from 16,400,000 to 16,500,000 bytes, with its comment re-pinned to the current measurement.developat 65d6c25 links the browser REPL build ofsysml(-tags sysml_re,-trimpath, stripped, library snapshot embedded) to 16,412,637 gzipped bytes on the gate's runner: the lowered-IR accessors the off-tree SMT solve stack (#2257) adds cost about 20,000 bytes on a tree that had 2,881 bytes of headroom, somake wasm-checknow fails ondevelopitself and in every merge group built on it. The swimlane views stacked behind that work (#2264, #2335) add about 39,000 more. 16,500,000 covers both with some room; the engine, core, syntax and combined budgets are unchanged.The structural alternative (keeping
exec/solveandexec/smt, which drive an external solver throughos/exec, out of thesysml_rejs build) is a behaviour change for the browser REPL and is left for its own decision.How it was verified
gofmt -l tests/wasm/empty,go vet ./tests/wasm/clean,python3 scripts/changelog.py checkclean.developand merge-group runs ofTestBrowserREPLWalkthroughs/fits_the_browser_REPL_size_budget(16,397,119 at 0e9ef8b; 16,412,637 with feat(smt,solve): read the lowered graphs by id and expression record #2257 merged).Checklist
make testandmake lintpass locally (the changed test is the budget assertion itself; the gate reruns on this PR)changes/unreleased/<slug>.<section>.md, not as an edit toCHANGELOG.mdmake docs-countsrun if a gate count moved (not applicable)F4,K5) in the body, docs, or changelogLink to Devin session: https://nasa-jpl-demo.devinenterprise.com/sessions/b755ad469d6d4fce894a453264216139
Open in Devin Desktop: https://nasa-jpl-demo.devinenterprise.com/desktop/session/b755ad469d6d4fce894a453264216139?variant=devin
Requested by: @HuiJun
🟢 Devin Review found nothing to fix · View findings · Follow Devin's work