test(evm): add opcode microbenchmarks generation#382
Draft
starwarfan wants to merge 2 commits intoDTVMStack:mainfrom
Draft
test(evm): add opcode microbenchmarks generation#382starwarfan wants to merge 2 commits intoDTVMStack:mainfrom
starwarfan wants to merge 2 commits intoDTVMStack:mainfrom
Conversation
Made-with: Cursor
…ration Made-with: Cursor
b04216e to
acf8fe8
Compare
⚡ Performance Regression Check Results✅ Performance Check Passed (interpreter)Performance Benchmark Results (threshold: 20%)
Summary: 194 benchmarks, 0 regressions ✅ Performance Check Passed (multipass)Performance Benchmark Results (threshold: 20%)
Summary: 194 benchmarks, 0 regressions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
tools/generate_opcode_benchmarks.pyto programmatically generate EVM bytecodes for testing the performance of individual opcodes.tools/check_performance_regression.pyto allow specifying multiple benchmark directories and filters..ci/run_test_suite.shto invoke the generator and include the newtest/opcode-benchmarksdirectory in theevmone-benchsuite.This allows us to track performance regression of individual opcodes against
libevmone, while carefully using data-dependency chaining to defeat dead-code elimination in DTVM multipass JIT.Made with Cursor