Skip to content

Add performance tests#138

Merged
isteinbrecher merged 1 commit into
imcs-compsim:mainfrom
isteinbrecher:add_performance_test
Jun 18, 2026
Merged

Add performance tests#138
isteinbrecher merged 1 commit into
imcs-compsim:mainfrom
isteinbrecher:add_performance_test

Conversation

@isteinbrecher

Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a small performance benchmark suite for CubitPy’s local vs remote execution paths, using pytest-benchmark to time common operations and compare them against reference thresholds.

Changes:

  • Added tests/test_cubitpy_performance.py with four pytest-benchmark performance tests and a shared benchmark_cubitpy helper fixture.
  • Added pytest-benchmark to the dev optional dependencies in pyproject.toml.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 6 comments.

File Description
tests/test_cubitpy_performance.py Introduces benchmark-based performance tests and a helper fixture to compare runtimes to local/remote reference thresholds.
pyproject.toml Adds pytest-benchmark to the development dependencies so the new benchmark tests can run.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread tests/test_cubitpy_performance.py Outdated
Comment thread tests/test_cubitpy_performance.py
Comment thread tests/test_cubitpy_performance.py
Comment thread tests/test_cubitpy_performance.py
Comment thread tests/test_cubitpy_performance.py
Comment thread tests/test_cubitpy_performance.py
@isteinbrecher isteinbrecher force-pushed the add_performance_test branch from 815b85c to 31e1c88 Compare June 18, 2026 09:40
@isteinbrecher isteinbrecher temporarily deployed to cubit_secrets_trusted June 18, 2026 09:40 — with GitHub Actions Inactive
@isteinbrecher isteinbrecher force-pushed the add_performance_test branch from 31e1c88 to 6209ca0 Compare June 18, 2026 09:48
@isteinbrecher isteinbrecher temporarily deployed to cubit_secrets_trusted June 18, 2026 09:48 — with GitHub Actions Inactive
@isteinbrecher isteinbrecher merged commit 5195baf into imcs-compsim:main Jun 18, 2026
2 checks passed
@isteinbrecher isteinbrecher deleted the add_performance_test branch June 18, 2026 09:53
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.

2 participants