diff --git a/benchmarks/benchmarks.py b/benchmarks/benchmarks.py index 72ec30e2b..4f921d20c 100644 --- a/benchmarks/benchmarks.py +++ b/benchmarks/benchmarks.py @@ -49,20 +49,9 @@ def setup(self): ) self.instance_filled_nested_bytes = bytes(self.instance_filled_nested) self.instance_filled_repeated = TestRepeatedMessage( - [ - "test1", - "test2", - "test3", - "test4", - "test5", - "test6", - "test7", - "test8", - "test9", - "test10", - ], - [2, -100, 0, 500000, 600, -425678, 1000000000, -300, 1, -694214214466], - [True, False, False, False, True, True, False, True, False, False], + [f"test{i}" for i in range(1_000)], + [(i-500)**3 for i in range(1_000)], + [i%2==0 for i in range(1_000)], ) self.instance_filled_repeated_bytes = bytes(self.instance_filled_repeated)