Skip to content

Fix benchmark suite #15566

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 3 commits into from
Nov 19, 2021
Merged

Fix benchmark suite #15566

merged 3 commits into from
Nov 19, 2021

Conversation

kripken
Copy link
Member

@kripken kripken commented Nov 18, 2021

This regressed in #12869 - while adding wasm64 support we reordered how the
args are added. The extra emcc args must be at the end so that they apply on
top of the other ones, in particular, some tests must disable minimal runtime.

@kripken kripken requested a review from sbc100 November 18, 2021 18:29
# above, such as minimal runtime
cmd += emcc_args + self.extra_args
if 'FORCE_FILESYSTEM' not in cmd:
cmd += ['-s', 'FILESYSTEM=0']
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why explicitly disable the filesystem here? (i.e. why not let emcc decide it filesystem is needed or not?)

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the reasoning for this moved code is that most benchmarks don't use files, and power users will be disabling the filesystem entirely which can save a few more bytes in some cases.

@kripken kripken merged commit 9558567 into main Nov 19, 2021
@kripken kripken deleted the benchfix branch November 19, 2021 00:23
mmarczell-graphisoft pushed a commit to GRAPHISOFT/emscripten that referenced this pull request Jan 5, 2022
This regressed in emscripten-core#12869 - while adding wasm64 support we reordered how the
args are added. The extra emcc args must be at the end so that they apply on
top of the other ones, in particular, some tests must disable minimal runtime.
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.

2 participants