mirror of
https://github.com/astral-sh/ruff.git
synced 2025-08-04 18:58:04 +00:00
[ty] Reduce size of the many-tuple-assignments benchmark (#18131)
## Summary The previous version took several minute to complete on codspeed.
This commit is contained in:
parent
9910ec700c
commit
e677cabd69
1 changed files with 0 additions and 6 deletions
|
@ -331,12 +331,6 @@ fn benchmark_many_tuple_assignments(criterion: &mut Criterion) {
|
|||
t += (7,)
|
||||
if flag():
|
||||
t += (8,)
|
||||
if flag():
|
||||
t += (9,)
|
||||
if flag():
|
||||
t += (10,)
|
||||
if flag():
|
||||
t += (11,)
|
||||
|
||||
# Perform some kind of operation on the union type
|
||||
print(1 in t)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue