Skip to content

Automatic rebaseline of codesize expectations. NFC #23188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 17, 2024

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Dec 17, 2024

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (5) test expectation files were updated by running the tests with --rebaseline:

browser/test_small_js_flags.js.size: 4369 => 4345 [-24 bytes / -0.55%]
other/test_INCOMING_MODULE_JS_API.js.size: 3780 => 3758 [-22 bytes / -0.58%]
other/test_unoptimized_code_size.js.size: 53980 => 53979 [-1 bytes / -0.00%]
other/test_unoptimized_code_size_no_asserts.js.size: 29400 => 29399 [-1 bytes / -0.00%]
other/test_unoptimized_code_size_strict.js.size: 52776 => 52775 [-1 bytes / -0.00%]

Average change: -0.23% (-0.58% - -0.00%)

This is an automatic change generated by tools/maint/rebaseline_tests.py.

The following (5) test expectation files were updated by
running the tests with `--rebaseline`:

browser/test_small_js_flags.js.size: 4369 => 4345 [-24 bytes / -0.55%]
other/test_INCOMING_MODULE_JS_API.js.size: 3780 => 3758 [-22 bytes / -0.58%]
other/test_unoptimized_code_size.js.size: 53980 => 53979 [-1 bytes / -0.00%]
other/test_unoptimized_code_size_no_asserts.js.size: 29400 => 29399 [-1 bytes / -0.00%]
other/test_unoptimized_code_size_strict.js.size: 52776 => 52775 [-1 bytes / -0.00%]

Average change: -0.23% (-0.58% - -0.00%)
@sbc100 sbc100 requested review from dschuff and kripken December 17, 2024 00:59
@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 17, 2024

This is the first use of this script. WDYT? Perhaps we could format the results for easier readability? Maybe in table?

@kripken
Copy link
Member

kripken commented Dec 17, 2024

Putting the automatic output in triple-quotes, so the font is fixed-size, would be good I think.

@sbc100 sbc100 merged commit e3cb127 into emscripten-core:main Dec 17, 2024
8 of 13 checks passed
@sbc100 sbc100 deleted the rebaseline_tests branch December 17, 2024 01:13
@aheejin
Copy link
Member

aheejin commented Dec 17, 2024

Wouldn't it be good to run ./emcc --clear-cache in the beginning too?

@sbc100
Copy link
Collaborator Author

sbc100 commented Dec 17, 2024

Wouldn't it be good to run ./emcc --clear-cache in the beginning too?

Yes we should have an option for that!

hedwigz pushed a commit to hedwigz/emscripten that referenced this pull request Dec 18, 2024
…3188)

This is an automatic change generated by
tools/maint/rebaseline_tests.py.

The following (5) test expectation files were updated by running the
tests with `--rebaseline`:

```
browser/test_small_js_flags.js.size: 4369 => 4345 [-24 bytes / -0.55%]
other/test_INCOMING_MODULE_JS_API.js.size: 3780 => 3758 [-22 bytes /
-0.58%]
other/test_unoptimized_code_size.js.size: 53980 => 53979 [-1 bytes /
-0.00%]
other/test_unoptimized_code_size_no_asserts.js.size: 29400 => 29399 [-1
bytes / -0.00%]
other/test_unoptimized_code_size_strict.js.size: 52776 => 52775 [-1
bytes / -0.00%]

Average change: -0.23% (-0.58% - -0.00%)
```
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.

3 participants