Skip to content

fix: onboard onto ruff #40

fix: onboard onto ruff

fix: onboard onto ruff #40

Triggered via pull request November 26, 2024 20:25
Status Failure
Total duration 6m 35s
Artifacts

benchmark.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 8 warnings
benchmark
# :warning: **Performance Alert** :warning: Possible performance regression was detected for benchmark **'Python Benchmark with pytest-benchmark'**. Benchmark result of this commit is worse than the previous benchmark result exceeding threshold `2`. | Benchmark suite | Current: 3a1bbafbf2f59f67a67da0f82fc2dffb8b8ed3cd | Previous: 7bb5014685f70e68321499739c400da7d19b2a40 | Ratio | |-|-|-|-| | `benchmark/benchmark.py::test_exact_shots[ghz-density_matrix q[0], q[1]-8-braket_dm_v2]` | `56.69482997465119` iter/sec (`stddev: 0`) | `188.98067302228355` iter/sec (`stddev: 0`) | `3.33` | | `benchmark/benchmark.py::test_exact_shots[ghz-expectation z(q[0])-7-braket_dm_v2]` | `74.46280300036203` iter/sec (`stddev: 0`) | `206.40790875857144` iter/sec (`stddev: 0`) | `2.77` | | `benchmark/benchmark.py::test_exact_shots[ghz-variance y(q[0])-6-braket_dm]` | `46.96039145507576` iter/sec (`stddev: 0`) | `115.96715318524535` iter/sec (`stddev: 0`) | `2.47` | | `benchmark/benchmark.py::test_exact_shots[qft-state_vector-7-braket_sv_v2]` | `62.496668146413164` iter/sec (`stddev: 0`) | `242.0432868274179` iter/sec (`stddev: 0`) | `3.87` | | `benchmark/benchmark.py::test_exact_shots[qft-density_matrix q[0], q[1]-5-braket_dm_v2]` | `73.95451865143785` iter/sec (`stddev: 0`) | `355.98126484826656` iter/sec (`stddev: 0`) | `4.81` | | `benchmark/benchmark.py::test_nonzero_shots[ghz-probability-100-7-braket_dm_v2]` | `93.27729283328414` iter/sec (`stddev: 0`) | `223.17397491543704` iter/sec (`stddev: 0`) | `2.39` | | `benchmark/benchmark.py::test_nonzero_shots[qft-variance y(q[0])-100-7-braket_dm_v2]` | `35.39342034192071` iter/sec (`stddev: 0`) | `85.43125148997323` iter/sec (`stddev: 0`) | `2.41` | | `benchmark/benchmark.py::test_nonzero_shots[qft-sample z(q[0])-100-6-braket_dm]` | `29.9822690857063` iter/sec (`stddev: 0`) | `61.50969695454911` iter/sec (`stddev: 0`) | `2.05` | This comment was automatically generated by [workflow](https://github.com/amazon-braket/amazon-braket-simulator-v2-python/actions?query=workflow%3ABenchmark) using [github-action-benchmark](https://github.com/marketplace/actions/continuous-benchmark). Comment was generated at https://github.com/amazon-braket/amazon-braket-simulator-v2-python/pull/38#pullrequestreview-2357719898
benchmark
Performance alert! Previous value was 188.98067302228355 and current value is 56.69482997465119. It is 3.333296406511469x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 206.40790875857144 and current value is 74.46280300036203. It is 2.771959964461288x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 115.96715318524535 and current value is 46.96039145507576. It is 2.4694673445425663x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 242.0432868274179 and current value is 62.496668146413164. It is 3.8728990521602604x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 355.98126484826656 and current value is 73.95451865143785. It is 4.81351608177015x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 223.17397491543704 and current value is 93.27729283328414. It is 2.3925863212423963x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 85.43125148997323 and current value is 35.39342034192071. It is 2.413760825166328x worse than previous exceeding a ratio threshold 2
benchmark
Performance alert! Previous value was 61.50969695454911 and current value is 29.9822690857063. It is 2.0515357519712594x worse than previous exceeding a ratio threshold 2