diff options
Diffstat (limited to 'tests/perf.test')
-rw-r--r-- | tests/perf.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/perf.test b/tests/perf.test index 8535dd2..1cd231c 100644 --- a/tests/perf.test +++ b/tests/perf.test @@ -11,7 +11,7 @@ proc bench {name cmd} { } proc set_dict_sugar {} { - for {set i 0} {$i < 100000} {incr i} { + for {set i 0} {$i < 20000} {incr i} { set a(b) $i } } @@ -20,7 +20,7 @@ proc set_dict_sugar {} { # speedup since a($b) needs to be interpolated and reparsed every time proc set_var_dict_sugar {} { set b b - for {set i 0} {$i < 100000} {incr i} { + for {set i 0} {$i < 20000} {incr i} { set a($b) $i } } |