diff options
author | antirez <antirez> | 2005-03-02 12:36:47 +0000 |
---|---|---|
committer | antirez <antirez> | 2005-03-02 12:36:47 +0000 |
commit | 1b20d15f92fc6652e2fb601f940dc1dc19193368 (patch) | |
tree | d3b1022a535a341bb09c7f2151d3c0da7d4a7f4c /bench.tcl | |
parent | ffc24892ceb6f1a02ca9201efc0074637371a0c0 (diff) | |
download | jimtcl-1b20d15f92fc6652e2fb601f940dc1dc19193368.zip jimtcl-1b20d15f92fc6652e2fb601f940dc1dc19193368.tar.gz jimtcl-1b20d15f92fc6652e2fb601f940dc1dc19193368.tar.bz2 |
non local literal sharing disabled.
bench.tcl modified to be more verbose.
Diffstat (limited to 'bench.tcl')
-rw-r--r-- | bench.tcl | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -2,8 +2,9 @@ proc bench {title script} { while {[string length $title] < 20} { append title " " } - catch {time $script} res - puts "$title - $res" + if {[catch {puts "$title - [time $script]"}]} { + puts "$title - This test can't run on this interpreter" + } } ### BUSY LOOP ################################################################## @@ -197,4 +198,4 @@ bench {ary} {ary 100000} bench {repeat} {use_repeat} bench {upvar} {upvartest} bench {nested loops} {nestedloops} -bench {rotate} {rotate 100000}
\ No newline at end of file +bench {rotate} {rotate 100000} |