-
Notifications
You must be signed in to change notification settings - Fork 138
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
Add computation metering to the new stdlib functions #2880
Conversation
Cadence Benchstat comparisonThis branch with compared with the base branch onflow:master commit e69d6bb Collapsed results for better readability
|
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.
Nice! Thanks for adding this so quickly
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.
Nice!
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## master #2880 +/- ##
=======================================
Coverage 79.40% 79.41%
=======================================
Files 334 334
Lines 78914 78926 +12
=======================================
+ Hits 62664 62676 +12
Misses 13943 13943
Partials 2307 2307
Flags with carried forward coverage won't be shown. Click here to find out more.
☔ View full report in Codecov by Sentry. |
Work towards #2879
Description
This PR only adds computation metering for the newly added functions:
String.join
function #2762map
in Fixed/Variable sized Array types #2737filter
in Fixed/Variable sized Array types #2678reverse
in Fixed/Variable sized Array type #2654The remaining functions need to be metered in the stable-cadence branch since it can be a breaking change.
master
branchFiles changed
in the Github PR explorer