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

Add benchmark for monitor_data service #297

Open
wants to merge 16 commits into
base: geometry-pooch
Choose a base branch
from

Conversation

SimonHeybrock
Copy link
Member

The added tests does not run by default. Use pytest --benchmark-only to run it. You need to pip install pytest-benchmark.

As part of this, I eliminated some problems and bottlenecks that showed up while benchmarking.

@@ -17,23 +17,6 @@ def get(self, key: str, default: Any | None = None) -> Any:
pass


class ConfigProxy:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was unused in practice and just added overhead.

@@ -103,7 +103,7 @@ def __init__(
processor: Processor,
name: str | None = None,
log_level: int = logging.INFO,
poll_interval: float = 0.1,
poll_interval: float = 0.01,
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No good reason. Subject to change once we deploy.

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

Successfully merging this pull request may close these issues.

1 participant