Skip to content

Commit aca2b01

Browse files
committed
Changed: Pytest benchmark results on commits
1 parent b73199b commit aca2b01

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
66

77
## [Unreleased]
88
### Added
9-
- Misc: Testing to include benchmark timings for tree creation.
10-
- Misc: Attach benchmark timing results to pull requests.
9+
- Misc: Testing to include benchmark timings for tree creation, compare benchmark tests across commits, reject pull request if benchmark tests fails.
1110
### Changed
1211
- Misc: Documentation to enable zooming in of images, add navigation section headers, remove some meta tags.
1312

tests/node/test_node_benchmark.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def run_construct_node(depth: int, width: int = 1, parent_node: Node = None) ->
2525

2626

2727
def test_node_benchmark_width_1_depth_10(benchmark):
28-
benchmark.pedantic(run_construct_node, (1000, 1), iterations=10, rounds=2)
28+
benchmark.pedantic(run_construct_node, (10, 1), iterations=10, rounds=2)
2929

3030

3131
def test_node_benchmark_width_1_depth_100(benchmark):

0 commit comments

Comments
 (0)