File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -261,7 +261,8 @@ def test_multidict_getall_str_hit(
261
261
262
262
@benchmark
263
263
def _run () -> None :
264
- md .getall ("key3" )
264
+ for i in range (30 ):
265
+ md .getall ("key3" )
265
266
266
267
267
268
def test_multidict_getall_str_miss (
@@ -273,7 +274,8 @@ def test_multidict_getall_str_miss(
273
274
274
275
@benchmark
275
276
def _run () -> None :
276
- md .getall ("miss" , ())
277
+ for i in range (30 ):
278
+ md .getall ("miss" , ())
277
279
278
280
279
281
def test_cimultidict_getall_istr_hit (
@@ -287,7 +289,8 @@ def test_cimultidict_getall_istr_hit(
287
289
288
290
@benchmark
289
291
def _run () -> None :
290
- md .getall (all_istr )
292
+ for i in range (30 ):
293
+ md .getall (all_istr )
291
294
292
295
293
296
def test_cimultidict_getall_istr_miss (
@@ -301,7 +304,8 @@ def test_cimultidict_getall_istr_miss(
301
304
302
305
@benchmark
303
306
def _run () -> None :
304
- md .getall (miss_istr , ())
307
+ for i in range (30 ):
308
+ md .getall (miss_istr , ())
305
309
306
310
307
311
def test_multidict_fetch (
You can’t perform that action at this time.
0 commit comments