aio-libs / propcache

Fast property caching
Apache License 2.0
11 stars 3 forks source link

Add codspeed benchmarks #60

Closed bdraco closed 1 month ago

bdraco commented 1 month ago

What do these changes do?

Add codspeed benchmarks so we can watch for performance regressions and improvements.

Are there changes in behavior for the user?

no

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.52%. Comparing base (02cad01) to head (376efb4). Report is 1 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #60 +/- ## ========================================== + Coverage 88.07% 88.52% +0.44% ========================================== Files 17 18 +1 Lines 671 697 +26 Branches 67 70 +3 ========================================== + Hits 591 617 +26 Misses 62 62 Partials 18 18 ``` | [Flag](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | Coverage Δ | | |---|---|---| | [CI-GHA](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `88.52% <100.00%> (+0.44%)` | :arrow_up: | | [MyPy](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `77.48% <76.00%> (-0.06%)` | :arrow_down: | | [OS-Linux](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `99.37% <100.00%> (+0.05%)` | :arrow_up: | | [OS-Windows](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `94.71% <100.00%> (+0.48%)` | :arrow_up: | | [OS-macOS](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `95.31% <100.00%> (+0.38%)` | :arrow_up: | | [Py-3.10.11](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `95.00% <100.00%> (+0.40%)` | :arrow_up: | | [Py-3.10.15](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `97.50% <100.00%> (+0.20%)` | :arrow_up: | | [Py-3.11.10](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `97.50% <100.00%> (+0.20%)` | :arrow_up: | | [Py-3.11.9](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `95.00% <100.00%> (+0.40%)` | :arrow_up: | | [Py-3.12.7](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `97.50% <100.00%> (+0.20%)` | :arrow_up: | | [Py-3.13.0](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `97.50% <100.00%> (+0.20%)` | :arrow_up: | | [Py-3.9.13](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `94.98% <100.00%> (+0.40%)` | :arrow_up: | | [Py-3.9.20](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `97.49% <100.00%> (+0.20%)` | :arrow_up: | | [Py-pypy7.3.16](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `96.81% <100.00%> (+0.29%)` | :arrow_up: | | [Py-pypy7.3.17](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `96.83% <100.00%> (+0.29%)` | :arrow_up: | | [VM-macos-latest](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `95.31% <100.00%> (+0.38%)` | :arrow_up: | | [VM-ubuntu-latest](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `99.37% <100.00%> (+0.05%)` | :arrow_up: | | [VM-windows-latest](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `94.71% <100.00%> (+0.48%)` | :arrow_up: | | [pytest](https://app.codecov.io/gh/aio-libs/propcache/pull/60/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs) | `99.37% <100.00%> (+0.05%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aio-libs#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Congrats! CodSpeed is installed 🎉

🆕 2 new benchmarks were detected.

You will start to see performance impacts in the reports once the benchmarks are run from your default branch.

Detected benchmarks

- `test_cached_property_caching` (39.3 µs) - `test_under_cached_property_caching` (57.5 µs)