-
Notifications
You must be signed in to change notification settings - Fork 144
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
feat: cost reporting via tests #116
Conversation
* feat: ability to cache repl sessions * feat: create stacksjs-helper-generator extension
* chore: update repl * feat: ability to cache repl sessions * feat: create stacksjs-helper-generator extension * feat: add decrement function (#109)
Codecov Report
@@ Coverage Diff @@
## main #116 +/- ##
========================================
- Coverage 4.21% 4.17% -0.04%
========================================
Files 129 129
Lines 27546 27796 +250
========================================
Hits 1161 1161
- Misses 26385 26635 +250
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
abbreviated flag |
This looks great!! |
@LNow already the case, the latest version of the reports looks like this: |
I love it. @whoabuddy look at this! |
Screen.Recording.2021-09-16.at.11.33.43.AM.mov |
Please build into windows binary .msi file. I downloaded the recent msi for x63 and the --costs flag does not work. Thank you!!!! |
# Conflicts: # Cargo.lock # Cargo.toml # deno/ext/stacksjs-helper-generator.ts # examples/counter/contracts/counter.clar # src/frontend/cli.rs # src/integrate/events_observer.rs # src/runnner/deno.rs
# [0.17.0](v0.16.0...v0.17.0) (2021-10-05) ### Features * ability to cache repl sessions ([5e086cb](5e086cb)) * acknowledge check ok ([f6a6143](f6a6143)) * add decrement function ([#109](#109)) ([56e5477](56e5477)) * cascade changes ([fb6d9a9](fb6d9a9)) * cost reporting via tests ([#116](#116)) ([a0117aa](a0117aa)) * create abi-generator extension ([e5b46c4](e5b46c4)) * revamp extension usage ([ec8cdfc](ec8cdfc))
🎉 This PR is included in version 0.17.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR starts addressing #41, by introducing a flag
--cost
that can be passed when running tests.The costs for every method explicitly invoked when mining tests blocks
are collected, and rendered in the terminal. If multiple invocations for a given method were collected, the most expensive instance is being displayed.