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

fix: remove cprofile() #848

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

fix: remove cprofile() #848

wants to merge 2 commits into from

Conversation

mtache
Copy link
Collaborator

@mtache mtache commented Oct 2, 2024

Description

Fixes # (issue id)

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my code
  • I have run pre-commit for code linting and typing (pre-commit run)
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes (tox -e testenv)

Copy link

codspeed-hq bot commented Oct 2, 2024

CodSpeed Performance Report

Merging #848 will improve performances by ×370

Comparing mtache:cprofile (1fdba4c) with main (fc644a1)

Summary

⚡ 4 improvements

Benchmarks breakdown

Benchmark main mtache:cprofile Change
test_anta[1 device] 1,020,639.1 µs 175.6 µs ×5,800
test_anta[2 devices] 2,029,532 µs 939.3 µs ×2,200
test_anta_dry_run[1 device] 69,815.6 µs 189.3 µs ×370
test_anta_dry_run[2 devices] 126,251.1 µs 203.9 µs ×620

Copy link

sonarcloud bot commented Oct 3, 2024

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

Successfully merging this pull request may close these issues.

1 participant