Skip to content
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

ci(tests): add speed benchmark using CodSpeed #270

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

ci(tests): add speed benchmark using CodSpeed #270

wants to merge 6 commits into from

Conversation

frgfm
Copy link
Owner

@frgfm frgfm commented Aug 9, 2024

This PR adds Codspeed to benchmark the impact on latency of each code change.

@frgfm frgfm self-assigned this Aug 9, 2024
@github-actions github-actions bot added topic: docs Improvements or additions to documentation ext: tests Related to test module: methods Related to torchcam.methods module: utils Related to torchcam.utils topic: build ext: scripts ext: demo ext: docs topic: ci topic: style module: metrics labels Aug 9, 2024
Copy link

socket-security bot commented Aug 9, 2024

New dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
pypi/[email protected] environment, filesystem 0 30 kB art049

View full report↗︎

Copy link

codecov bot commented Aug 9, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 97.27%. Comparing base (43b9a05) to head (7dcc0d4).
Report is 1 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #270   +/-   ##
=======================================
  Coverage   97.27%   97.27%           
=======================================
  Files           8        8           
  Lines         441      441           
=======================================
  Hits          429      429           
  Misses         12       12           

Copy link

codspeed-hq bot commented Aug 29, 2024

CodSpeed Performance Report

Congrats! CodSpeed is installed 🎉

🆕 1 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_classification_metric (2 s)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant