[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:
David Peter 2025-05-16 15:28:23 +02:00 committed by GitHub
parent 9910ec700c
commit e677cabd69
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)