Framework uses solc to compile, and ethvm (cpp-ethereum) to test gas usage of library code. Gas usage is calculated by running functions through a special test contract that extends STLPerf to make them all uniform. The functions are then executed in the vm, and the gas usage returned.
Next step - store all the results in a versiond JSON file, and add a tool to create and view diffs.
Framework uses
solc
to compile, andethvm
(cpp-ethereum) to test gas usage of library code. Gas usage is calculated by running functions through a special test contract that extendsSTLPerf
to make them all uniform. The functions are then executed in the vm, and the gas usage returned.Next step - store all the results in a versiond JSON file, and add a tool to create and view diffs.