Skip to content

Fix benchmark suite - #15566

Merged
kripken merged 3 commits into
mainfrom
benchfix
Nov 19, 2021
Merged

Fix benchmark suite#15566
kripken merged 3 commits into
mainfrom
benchfix

Conversation

@kripken

@kripken kripken commented Nov 18, 2021

Copy link
Copy Markdown
Member

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
Comment thread tests/test_benchmark.py
# above, such as minimal runtime
cmd += emcc_args + self.extra_args
if 'FORCE_FILESYSTEM' not in cmd:
cmd += ['-s', 'FILESYSTEM=0']

Copy link
Copy Markdown
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
Copy Markdown
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