Closed Parro closed 1 year ago
Thanks for contributing 🎉🙏
I’ll review and merge in the next 2-3 weeks (I’m currently on vacation).
In the meantime, it would be fantastic if you could add a couple more tests to play with different percentages and edge cases.
On Wed, 20 Jul 2022 at 11:03, Mauro Parolari @.***> wrote:
For the validation that check that the param is between 0 and 0.4 I used the same style of getBalancedWeight in analyzer.js. For the doc, I copied from the issue, I think it's quite explicative 😉
You can view, comment on, or merge this pull request online at:
https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172 Commit Summary
- 741b80f https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/commits/741b80f5d035eb735b28135bb2f29fafbbebdb29 Add cli parameter to set the percentage of durations to discard
- 4d76acf https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/commits/4d76acfe9acf66439e87a0f7a0baa8fc1a505194 Fix typos
File Changes
(7 files https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files)
- M README-ADVANCED.md https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-7c9630c031ef14110d8c57f1eab49d4e59eb52cae2d309234fbdb69563365dd5 (2)
- M README-DEPLOY.md https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-78be136353510bd29e3b2deb5b75f95452db1b832fab69b2efac52c819bc96c5 (10)
- M README-INPUT-OUTPUT.md https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-1049dc0ee549ce5daf828ab8cebd32d2cae936ff4ba52c2621dce93eac923266 (7)
- M README-SAR.md https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-4ba161d5c6e8e3d53682bfefdd0a07b6bf0a22f7f74ebff0952c938e04cabbdb (8)
- M lambda/executor.js https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-f93a3d457438c7da1d763bed11d9e4c75d0eb6fbc1466c6d187bfb1714989dac (22)
- M lambda/utils.js https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-1bade2ae00493c392e2157bad6328cfe82f510b2b2c36e3374a65b6258116246 (14)
- M test/unit/test-utils.js https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172/files#diff-0b81d0dc8bfd870cdfa25588eb89a406b444dff1ce14b6e85ef9e3d8c09fee8d (6)
Patch Links:
- https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172.patch
https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172.diff
— Reply to this email directly, view it on GitHub https://github.com/alexcasalboni/aws-lambda-power-tuning/pull/172, or unsubscribe https://github.com/notifications/unsubscribe-auth/AASX75DGXOI7ZYOJLF5HMR3VU7FFXANCNFSM54DAVTMA . You are receiving this because you are subscribed to this thread.Message ID: @.***>
Thanks for contributing 🎉🙏 I’ll review and merge in the next 2-3 weeks (I’m currently on vacation). In the meantime, it would be fantastic if you could add a couple more tests to play with different percentages and edge cases.
I added some tests and brought back the coverage to 100%
Hey @Parro I've applied a few very minor changes to improve tests & documentation.
Thank you again for contributing 🙏 I'm merging this now!
For the validation that check that the param is between
0
and0.4
I used the same style ofgetBalancedWeight
inanalyzer.js
. For the doc, I copied from the issue, I think it's quite explicative :wink: