-
Notifications
You must be signed in to change notification settings - Fork 192
test(benchmark): port nethermind modexp benchmark case #1802
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
Conversation
spencer-tb
left a comment
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.
LGTM! Nice one, script is cool.
marcindsobczak
left a comment
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.
Looks great!
| exponent="03", | ||
| modulus=6 * ("00" + 31 * "FF"), | ||
| ), | ||
| id="mod_min_as_base_heavy", |
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.
as -> gas
| exponent="07" + 75 * "FF", | ||
| modulus=7 * "FF", | ||
| ), | ||
| id="mod_min_as_exp_heavy", |
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.
as -> gas
| exponent="01" + 3 * "FF", | ||
| modulus="00" + 38 * "FF", | ||
| ), | ||
| id="mod_min_as_balanced", |
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.
as -> gas
| exponent="07" + 6 * "FF", | ||
| modulus="00" + 46 * "FF", | ||
| ), | ||
| id="mod_600_as_balanced", |
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.
as -> gas
ποΈ Description
Porting benchmark test from Nethermind (Related Link), and this script is used to generate the test cases.
π Related Issues
Issue #1734
β Checklist
mkdocs servelocally and verified the auto-generated docs for new tests in the Test Case Reference are correctly formatted.