File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -261,7 +261,8 @@ def test_multidict_getall_str_hit(
261261
262262 @benchmark
263263 def _run () -> None :
264- md .getall ("key3" )
264+ for i in range (30 ):
265+ md .getall ("key3" )
265266
266267
267268def test_multidict_getall_str_miss (
@@ -273,7 +274,8 @@ def test_multidict_getall_str_miss(
273274
274275 @benchmark
275276 def _run () -> None :
276- md .getall ("miss" , ())
277+ for i in range (30 ):
278+ md .getall ("miss" , ())
277279
278280
279281def test_cimultidict_getall_istr_hit (
@@ -287,7 +289,8 @@ def test_cimultidict_getall_istr_hit(
287289
288290 @benchmark
289291 def _run () -> None :
290- md .getall (all_istr )
292+ for i in range (30 ):
293+ md .getall (all_istr )
291294
292295
293296def test_cimultidict_getall_istr_miss (
@@ -301,7 +304,8 @@ def test_cimultidict_getall_istr_miss(
301304
302305 @benchmark
303306 def _run () -> None :
304- md .getall (miss_istr , ())
307+ for i in range (30 ):
308+ md .getall (miss_istr , ())
305309
306310
307311def test_multidict_fetch (
You can’t perform that action at this time.
0 commit comments