fix: onboard onto ruff #38
Annotations
1 error and 6 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: 7bb5014685f70e68321499739c400da7d19b2a40 | Previous: 75913da2977758d8ed5a5b5cee3298e8ec7c4bbb | Ratio |
|-|-|-|-|
| `benchmark/benchmark.py::test_exact_shots[ghz-state_vector-6-braket_sv_v2]` | `56.775273260236844` iter/sec (`stddev: 0`) | `460.96973835028166` iter/sec (`stddev: 0`) | `8.12` |
| `benchmark/benchmark.py::test_exact_shots[ghz-probability-5-braket_dm]` | `51.34435278302867` iter/sec (`stddev: 0`) | `141.04849413653878` iter/sec (`stddev: 0`) | `2.75` |
| `benchmark/benchmark.py::test_exact_shots[ghz-probability-7-braket_dm_v2]` | `77.8069131815599` iter/sec (`stddev: 0`) | `209.720433015576` iter/sec (`stddev: 0`) | `2.70` |
| `benchmark/benchmark.py::test_exact_shots[ghz-variance y(q[0])-7-braket_dm]` | `33.5328508899376` iter/sec (`stddev: 0`) | `74.41212781956919` iter/sec (`stddev: 0`) | `2.22` |
| `benchmark/benchmark.py::test_nonzero_shots[ghz-probability-100-4-braket_sv_v2]` | `127.27669691716375` iter/sec (`stddev: 0`) | `312.80754847155316` iter/sec (`stddev: 0`) | `2.46` |
| `benchmark/benchmark.py::test_nonzero_shots[qft-sample z(q[0])-100-4-braket_sv]` | `33.93425653151756` iter/sec (`stddev: 0`) | `92.30247565591249` iter/sec (`stddev: 0`) | `2.72` |
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 460.96973835028166 and current value is 56.775273260236844. It is 8.119198937843363x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 141.04849413653878 and current value is 51.34435278302867. It is 2.747108230823018x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 209.720433015576 and current value is 77.8069131815599. It is 2.6953958773072024x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 74.41212781956919 and current value is 33.5328508899376. It is 2.2190814632435107x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 312.80754847155316 and current value is 127.27669691716375. It is 2.4576969394102015x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 92.30247565591249 and current value is 33.93425653151756. It is 2.7200382471967086x worse than previous exceeding a ratio threshold 2
|