fix: onboard onto ruff #34
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: 22529c13e9e86968af06a1ff0deaf9d963b5dcc3 | Previous: 92b3a844805b6d24c9dfda32d7f1986b10a63bad | Ratio |
|-|-|-|-|
| `benchmark/benchmark.py::test_exact_shots[ghz-state_vector-14-braket_sv_v2]` | `18.844143645680724` iter/sec (`stddev: 0`) | `38.343805870283525` iter/sec (`stddev: 0`) | `2.03` |
| `benchmark/benchmark.py::test_exact_shots[qft-expectation z(q[0])-7-braket_dm_v2]` | `98.32165524418616` iter/sec (`stddev: 0`) | `223.2544216764512` iter/sec (`stddev: 0`) | `2.27` |
| `benchmark/benchmark.py::test_nonzero_shots[ghz-expectation z(q[0])-100-12-braket_sv]` | `34.568142887221896` iter/sec (`stddev: 0`) | `77.95386082481767` iter/sec (`stddev: 0`) | `2.26` |
| `benchmark/benchmark.py::test_nonzero_shots[ghz-sample z(q[0])-100-7-braket_dm_v2]` | `89.52611909309609` iter/sec (`stddev: 0`) | `217.6876719160958` iter/sec (`stddev: 0`) | `2.43` |
| `benchmark/benchmark.py::test_nonzero_shots[ghz-sample z(q[0])-100-14-braket_sv]` | `31.262438542745993` iter/sec (`stddev: 0`) | `65.71154497960839` iter/sec (`stddev: 0`) | `2.10` |
| `benchmark/benchmark.py::test_nonzero_shots[qft-probability-100-12-braket_sv_v2]` | `34.30348764793764` iter/sec (`stddev: 0`) | `102.00822157695109` iter/sec (`stddev: 0`) | `2.97` |
| `benchmark/benchmark.py::test_nonzero_shots[qft-expectation z(q[0])-100-6-braket_dm]` | `26.763092304029456` iter/sec (`stddev: 0`) | `59.17836147466889` iter/sec (`stddev: 0`) | `2.21` |
| `benchmark/benchmark.py::test_nonzero_shots[qft-sample z(q[0])-100-3-braket_sv_v2]` | `42.386429208133606` iter/sec (`stddev: 0`) | `314.55006035915767` iter/sec (`stddev: 0`) | `7.42` |
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 38.343805870283525 and current value is 18.844143645680724. It is 2.0347863289119177x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 223.2544216764512 and current value is 98.32165524418616. It is 2.2706536125941836x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 77.95386082481767 and current value is 34.568142887221896. It is 2.255078066505947x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 217.6876719160958 and current value is 89.52611909309609. It is 2.431554881651103x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 65.71154497960839 and current value is 31.262438542745993. It is 2.101932799956062x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 102.00822157695109 and current value is 34.30348764793764. It is 2.9736982613511x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 59.17836147466889 and current value is 26.763092304029456. It is 2.211192966881446x worse than previous exceeding a ratio threshold 2
|
benchmark
Performance alert! Previous value was 314.55006035915767 and current value is 42.386429208133606. It is 7.421008710467126x worse than previous exceeding a ratio threshold 2
|