-
Notifications
You must be signed in to change notification settings - Fork 1
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 detector data service benchmark #299
base: improve-handler-interface
Are you sure you want to change the base?
Add detector data service benchmark #299
Conversation
@@ -136,7 +136,7 @@ def clear(self) -> None: | |||
# detector view config. | |||
_registry = { | |||
'geometry-dream-2025-01-01.nxs': 'md5:91aceb884943c76c0c21400ee74ad9b6', | |||
'geometry-loki-2025-01-01.nxs': 'md5:e2e48c30ad02dcfa940b7c26885216f2', | |||
'geometry-loki-2025-01-01.nxs': 'md5:8d0e103276934a20ba26bb525e53924a', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Messed up the previous file. Did not notice as not used in any test yet.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
|
||
@pytest.mark.parametrize('instrument', ['dummy', 'nmx', 'loki', 'dream']) | ||
@pytest.mark.parametrize('events_per_message', [10_000, 100_000, 1_000_000]) | ||
def test_performance(benchmark, instrument: str, events_per_message: int) -> None: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the benchmark
fixture defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In the pytest-benchmark
package/addon, i.e., not by us.
Co-authored-by: jokasimr <[email protected]>
No description provided.