Skip to content

Conversation

@cdetrio
Copy link
Contributor

@cdetrio cdetrio commented Mar 26, 2019

Don't merge, for reference only,

-DCMAKE_INSTALL_PREFIX=<INSTALL_DIR>
-DCMAKE_BUILD_TYPE=Release
-DWITH_EXCEPTIONS=ON
-DWITH_EXCEPTIONS=OFF
Copy link
Member

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?

Copy link
Collaborator

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.

);

/*
***** in the metering benchmarks, inline-block and inline-super both export the inline useGas functions
Copy link
Member

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?

Copy link
Contributor Author

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).

@axic axic changed the title Benchmarking geth+evmc with static libs [WIP] Benchmarking geth+evmc with static libs Apr 25, 2019
@axic axic force-pushed the benchmarking branch 2 times, most recently from 3730c1c to 03f1c31 Compare April 25, 2019 12:55
@axic axic changed the base branch from benchmarking to master April 25, 2019 13:00
@axic
Copy link
Member

axic commented Apr 30, 2019

Is there something we can salvage from this PR?

@axic axic force-pushed the benchmarking-static-lib branch from 4e187a0 to 3e01d99 Compare May 2, 2019 13:15
@axic axic marked this pull request as draft June 9, 2020 13:50
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