-
Notifications
You must be signed in to change notification settings - Fork 50
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
[WIP] Benchmarking geth+evmc with static libs #511
base: master
Are you sure you want to change the base?
Conversation
@@ -22,10 +22,10 @@ ExternalProject_Add(wabt | |||
CMAKE_ARGS | |||
-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR> | |||
-DCMAKE_BUILD_TYPE=Release | |||
-DWITH_EXCEPTIONS=ON | |||
-DWITH_EXCEPTIONS=OFF |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why does this needs to be turned off?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It matches wabt default build options.
This breaks some EEI. Long term it would be worth to re-implement EEI without exceptions.
@@ -569,11 +569,15 @@ void BinaryenEngine::verifyContract(wasm::Module & module) | |||
"Contract export (\"memory\") missing." | |||
); | |||
|
|||
/* | |||
***** in the metering benchmarks, inline-block and inline-super both export the inline useGas functions |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do they export it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a workaround to make the wast code use the debug name useGas
for the function (if the inline function wasn't exported, its name would get mangled by the metering injector).
3730c1c
to
03f1c31
Compare
Is there something we can salvage from this PR? |
4e187a0
to
3e01d99
Compare
Don't merge, for reference only,