./runbench.tcl -verbose -threads 2 TCL_INTERP: 1:8.6b3 2:8.6b3 STARTED 2012-12-17 15:30:23 (runbench.tcl v1.30) AUTOSCALING ON - total elapsed time may be skewed Benchmark 1:8.6b3 /usr/local/bin/tclsh8.6 aabbccdeeefffghkllmmmmnpprrssstuuvw 00:14:39 elapsed Benchmark 2:8.6b3 /usr/local/bin/tclsh8.6-threads aabbccdeeefffghkllmmmmnpprrssstuuvw 00:14:41 elapsed 000 VERSIONS: 1:8.6b3 2:8.6b3 001 ARRAY format genKeys 50 2294.36 1585.46 002 ARRAY format genKeys 500 23247.58 15333.52 003 ARRAY makeHash 500 50 387059.9 345955.5 004 ascii85 strlen 2690 45771.79 47587.68 005 ascii85 strlen 269000 4473561 4754145 006 BASE64 decode 10 676.55 592.64 007 BASE64 decode 100 4952.77 4687.55 008 BASE64 decode 1000 46694.20 44531.75 009 BASE64 decode 10000 466196.5 443803.5 010 BASE64 decode2 10 653.54 585.36 011 BASE64 decode2 100 4899.05 4543.32 012 BASE64 decode2 1000 45770.65 43615.95 013 BASE64 decode2 10000 455580.5 442407.8 014 BASE64 decode3 10 401.27 410.04 015 BASE64 decode3 100 2647.53 2855.25 016 BASE64 decode3 1000 25793.20 27194.05 017 BASE64 decode3 10000 244545.2 276108.9 018 BASE64 encode 10 441.45 371.56 019 BASE64 encode 100 3354.80 3072.35 020 BASE64 encode 1000 31459.40 29212.65 021 BASE64 encode 10000 315108.5 300286.2 022 BASE64 encode2 10 367.37 347.36 023 BASE64 encode2 100 2642.22 2622.68 024 BASE64 encode2 1000 24889.95 25583.20 025 BASE64 encode2 10000 248278.6 255190.8 026 BASE64 encode3 10 259.80 232.16 027 BASE64 encode3 100 1020.79 1125.53 028 BASE64 encode3 1000 8229.95 9917.45 029 BASE64 encode3 10000 87929.10 100531.8 030 BIN bitset-v1 1000 chars 51301.95 49429.46 031 BIN bitset-v1 5000 chars 244047.3 240457.0 032 BIN bitset-v1 10000 chars 491025.5 488444.4 033 BIN bitset-v2 1000 chars 29145.97 28674.31 034 BIN bitset-v2 5000 chars 139671.9 140460.9 035 BIN bitset-v2 10000 chars 277238.0 284963.2 036 BIN bitset-v3 1000 chars 5995.39 8222.48 037 BIN bitset-v3 5000 chars 26936.10 39135.54 038 BIN bitset-v3 10000 chars 55415.70 77723.60 039 BIN c scan, 1000b 1903.05 1617.68 040 BIN c scan, 5000b 5373.63 4781.31 041 BIN c scan, 10000b 9628.57 8858.34 042 BIN chars, 10000b 53363.92 77273.98 043 BIN rand string 100b 3581.15 3769.86 044 BIN rand string 5000b 180125.9 187857.1 045 BIN rand2 string 100b 1219.61 1655.06 046 BIN rand2 string 5000b 58656.89 80396.20 047 BIN u char, 10000b 10493.78 9866.06 048 CATCH error, complex 142.74 120.72 049 CATCH no catch used 35.75 35.05 050 CATCH return error 139.90 120.45 051 CATCH return except 38.06 36.84 052 CATCH return ok 37.01 36.01 053 DATA access in a list 978.79 984.18 054 DATA access in an array 3162.29 2222.77 055 DATA create in a list 1443.33 1945.26 056 DATA create in an array 6089.10 4328.43 057 ENC iso2022-jp, gets 46075.53 47762.60 058 ENC iso2022-jp, read 45788.87 45732.97 059 ENC iso2022-jp, read & size 46026.13 45251.73 060 ENC iso8859-2, gets 589.60 546.60 061 ENC iso8859-2, read 396.80 374.86 062 ENC iso8859-2, read & size 475.45 463.70 063 EVAL cmd and mixed lists 11868.94 8635.03 064 EVAL cmd eval as list 23.95 26.00 065 EVAL cmd eval as string 85.51 63.20 066 EVAL cmd eval in list obj var 39.39 48.44 067 EVAL cmd eval in list obj {*} 31.25 36.04 068 EVAL list cmd and mixed lists 11723.05 8557.81 069 EVAL list cmd and pure lists 182.02 170.28 070 EXPR $a != $b dbl 15.22 16.51 071 EXPR $a != $b int 13.04 14.57 072 EXPR $a != $b str (!= len) 20.24 22.17 073 EXPR $a != $b str (== len) 21.67 23.56 074 EXPR $a == $b dbl 15.96 16.57 075 EXPR $a == $b int 13.04 14.64 076 EXPR $a == $b str (!= len) 20.32 22.86 077 EXPR $a == $b str (== len) 22.71 23.75 078 EXPR abs as expr 12.90 14.62 079 EXPR abs builtin 15.36 17.92 080 EXPR braced 42.49 51.34 081 EXPR builtin dyn 173.86 136.74 082 EXPR builtin sin 17.54 22.05 083 EXPR cast double 16.46 20.90 084 EXPR cast int 17.90 22.62 085 EXPR fifty operands 36.13 36.83 086 EXPR incr with expr 10.81 12.22 087 EXPR incr with incr 10.03 11.73 088 EXPR inline 40.32 43.51 089 EXPR one operand 10.28 26.33 090 EXPR rand range 28.91 33.70 091 EXPR rand range func 33.36 41.38 092 EXPR ten operands 14.82 17.30 093 EXPR unbraced 340.94 280.97 094 EXPR unbraced long 911.59 794.23 095 EXPR UpdStrOfDbl+1.23 prec0 30.48 27.48 096 EXPR UpdStrOfDbl+1.23 prec12 31.16 27.21 097 EXPR UpdStrOfDbl+1.23 prec17 36.59 33.23 098 EXPR UpdStrOfDbl+1e-4 prec0 49.44 39.98 099 EXPR UpdStrOfDbl+1e-4 prec12 47.33 27.61 100 EXPR UpdStrOfDbl+1e-4 prec17 36.90 33.18 101 EXPR UpdStrOfDbl+1e27 prec0 90.61 62.07 102 EXPR UpdStrOfDbl+1e27 prec12 33.14 29.70 103 EXPR UpdStrOfDbl+1e27 prec17 95.18 66.82 104 FCOPY binary: 160K 14912.47 15208.91 105 FCOPY encoding: 160K 37208.09 37073.30 106 FCOPY std: 160K 14905.35 15216.06 107 FILE exec interp 86316.03 98866.07 108 FILE exec interp: pkg require 623514.2 567864.9 109 FILE exists tmpfile (obj) 105.85 99.03 110 FILE exists ~ 178.95 176.17 111 FILE exists! tmpfile (obj) 93.49 93.67 112 FILE exists! tmpfile (str) 126.27 118.99 113 FILE glob tmpdir (60 entries) 1061.59 916.81 114 FILE glob / all subcommands 216576.6 200204.9 115 FILE glob / atime 10506.32 9820.14 116 FILE glob / attributes 118708.4 103993.4 117 FILE glob / dirname 2050.40 1978.14 118 FILE glob / executable 11560.50 10766.71 119 FILE glob / exists 11445.30 10674.26 120 FILE glob / extension 2285.17 2113.15 121 FILE glob / isdirectory 10560.29 10546.53 122 FILE glob / isfile 10568.42 9833.03 123 FILE glob / mtime 11292.56 9831.62 124 FILE glob / owned 10741.29 9950.18 125 FILE glob / readable 11636.58 11016.91 126 FILE glob / rootname 2620.98 2300.07 127 FILE glob / size 10612.47 9958.07 128 FILE glob / tail 1994.25 1955.78 129 FILE glob / writable 11563.12 10956.52 130 FILE recurse / -dir 55765.00 51696.03 131 FILE recurse / cd 65739.53 61861.11 132 FORMAT gen 43.26 36.07 133 GCCont_cpb::cGCC 50 613.49 726.06 134 GCCont_cpb::cGCC 500 3326.96 4514.28 135 GCCont_cpb::cGCC 5000 32003.54 42938.76 136 GCCont_cpbre1::cGCC 50 648.81 715.88 137 GCCont_cpbre1::cGCC 500 4420.99 4493.19 138 GCCont_cpbre1::cGCC 5000 40542.64 43276.36 139 GCCont_cpbre2::cGCC 50 602.23 553.34 140 GCCont_cpbre2::cGCC 500 3931.79 4118.79 141 GCCont_cpbre2::cGCC 5000 37856.76 39400.60 142 GCCont_cpbrs2::cGCC 50 191.92 187.56 143 GCCont_cpbrs2::cGCC 500 629.29 613.43 144 GCCont_cpbrs2::cGCC 5000 4944.52 4963.00 145 GCCont_cpbrs::cGCC1 50 307.32 333.95 146 GCCont_cpbrs::cGCC1 500 738.78 750.97 147 GCCont_cpbrs::cGCC1 5000 4955.04 4817.46 148 GCCont_cpbrs::cGCC2 50 261.66 291.63 149 GCCont_cpbrs::cGCC2 500 639.85 662.89 150 GCCont_cpbrs::cGCC2 5000 4316.04 4293.58 151 GCCont_cpbrs_trap::cGCC 50 582.43 589.01 152 GCCont_cpbrs_trap::cGCC 500 4142.40 4152.80 153 GCCont_cpbrs_trap::cGCC 5000 39299.78 39690.94 154 GCCont_expr::cGCC 50 436.54 380.19 155 GCCont_expr::cGCC 500 2590.39 2446.53 156 GCCont_expr::cGCC 5000 26844.68 23394.98 157 GCCont_i::cGCC1 50 395.11 445.05 158 GCCont_i::cGCC1 500 3105.78 3733.37 159 GCCont_i::cGCC1 5000 30263.04 38463.00 160 GCCont_i::cGCC2 50 364.24 417.44 161 GCCont_i::cGCC2 500 2782.83 3446.49 162 GCCont_i::cGCC2 5000 26969.14 34072.84 163 GCCont_i::cGCC3 50 335.80 363.37 164 GCCont_i::cGCC3 500 2254.87 2939.39 165 GCCont_i::cGCC3 5000 21966.98 28616.96 166 GCCont_r1::cGCC 50 521.12 482.27 167 GCCont_r1::cGCC 500 5622.21 4530.87 168 GCCont_r1::cGCC 5000 50025.88 45015.46 169 GCCont_r2::cGCC 50 443.06 512.54 170 GCCont_r2::cGCC 500 3542.95 4469.69 171 GCCont_r2::cGCC 5000 34510.80 44306.72 172 GCCont_r3::cGCC 50 442.18 520.64 173 GCCont_r3::cGCC 500 3805.51 4676.72 174 GCCont_r3::cGCC 5000 35399.90 45396.50 175 GCCont_rsf1::cGCC 50 390.67 425.69 176 GCCont_rsf1::cGCC 500 2427.75 3047.82 177 GCCont_rsf1::cGCC 5000 22926.12 29314.92 178 GCCont_rsf2::cGCC1 50 253.91 265.67 179 GCCont_rsf2::cGCC1 500 1297.62 1554.57 180 GCCont_rsf2::cGCC1 5000 11645.98 14305.72 181 GCCont_rsf2::cGCC2 50 231.90 245.55 182 GCCont_rsf2::cGCC2 500 1263.36 1507.25 183 GCCont_rsf2::cGCC2 5000 11545.26 14053.80 184 GCCont_rsf3::cGCC 50 238.07 250.03 185 GCCont_rsf3::cGCC 500 1263.69 1661.42 186 GCCont_rsf3::cGCC 5000 11631.26 13944.10 187 GCCont_turing::cGCC 50 129.61 123.04 188 GCCont_turing::cGCC 500 519.52 475.78 189 GCCont_turing::cGCC 5000 4419.28 3964.30 190 HEAPSORT size 10 632.02 543.89 191 HEAPSORT size 50 5829.32 4751.02 192 HEAPSORT size 100 13835.38 11532.29 193 HEAPSORT2 size 10 381.65 424.56 194 HEAPSORT2 size 50 3223.69 3530.35 195 HEAPSORT2 size 100 7924.13 8444.03 196 IF 1/0 check 11.70 14.26 197 IF else true al 22.08 23.99 198 IF else true numeric 15.34 16.83 199 IF elseif true al 22.22 24.18 200 IF elseif true numeric 15.82 17.37 201 IF if false al/al 17.13 18.78 202 IF if false al/num 17.08 19.66 203 IF if false num/num 14.54 15.62 204 IF if true al 16.46 18.13 205 IF if true al/al 16.78 18.34 206 IF if true num/num 14.01 15.61 207 IF if true numeric 13.79 15.33 208 IF multi 1st true 13.90 15.47 209 IF multi 2nd true 15.21 16.66 210 IF multi 9th true 25.68 24.68 211 IF multi default true 24.02 24.48 212 KLIST shuffle0 llength 1 87.94 84.05 213 KLIST shuffle0 llength 10 278.82 301.29 214 KLIST shuffle0 llength 100 2159.44 2530.06 215 KLIST shuffle0 llength 1000 22470.22 27309.35 216 KLIST shuffle0 llength 10000 266486.6 308847.1 217 KLIST shuffle1-s llength 1 51.74 58.66 218 KLIST shuffle1-s llength 10 422.28 440.63 219 KLIST shuffle1-s llength 100 5564.69 5483.98 220 KLIST shuffle1-s llength 1000 199015.6 178138.1 221 KLIST shuffle1a llength 1 64.01 73.19 222 KLIST shuffle1a llength 10 469.72 704.05 223 KLIST shuffle1a llength 100 4480.54 5414.04 224 KLIST shuffle1a llength 1000 44694.05 54287.70 225 KLIST shuffle1a llength 10000 461516.3 547433.5 226 KLIST shuffle2 llength 1 64.80 65.82 227 KLIST shuffle2 llength 10 536.44 491.13 228 KLIST shuffle2 llength 100 5294.03 4811.66 229 KLIST shuffle2 llength 1000 55216.26 51915.03 230 KLIST shuffle2 llength 10000 593800.1 543439.0 231 KLIST shuffle3 llength 1 57.40 59.87 232 KLIST shuffle3 llength 10 348.90 410.19 233 KLIST shuffle3 llength 100 3327.66 3940.37 234 KLIST shuffle3 llength 1000 33911.73 40420.58 235 KLIST shuffle3 llength 10000 486031.7 562299.6 236 KLIST shuffle4 llength 1 56.99 61.22 237 KLIST shuffle4 llength 10 360.62 419.52 238 KLIST shuffle4 llength 100 3346.28 4109.02 239 KLIST shuffle4 llength 1000 33255.26 40351.98 240 KLIST shuffle4 llength 10000 346023.6 407534.5 241 KLIST shuffle5-s llength 1 44.69 51.36 242 KLIST shuffle5-s llength 10 314.47 359.02 243 KLIST shuffle5-s llength 100 3363.68 3797.68 244 KLIST shuffle5-s llength 1000 68666.50 69157.58 245 KLIST shuffle5a llength 1 51.38 58.88 246 KLIST shuffle5a llength 10 350.59 429.58 247 KLIST shuffle5a llength 100 3281.40 4087.60 248 KLIST shuffle5a llength 1000 33975.26 42074.56 249 KLIST shuffle5a llength 10000 494940.0 577047.1 250 KLIST shuffle6 llength 1 12.50 15.48 251 KLIST shuffle6 llength 10 159.68 178.89 252 KLIST shuffle6 llength 100 1445.04 1795.26 253 KLIST shuffle6 llength 1000 14300.52 17994.35 254 KLIST shuffle6 llength 10000 148753.3 183031.7 255 LIST append to list 18.08 17.70 256 LIST concat APPEND 2x10 133.70 110.27 257 LIST concat APPEND 2x100 957.33 789.36 258 LIST concat APPEND 2x1000 9685.05 7724.40 259 LIST concat APPEND 2x10000 96921.80 83534.14 260 LIST concat CONCAT 2x10 29.08 29.19 261 LIST concat CONCAT 2x100 47.65 40.41 262 LIST concat CONCAT 2x1000 201.75 152.23 263 LIST concat CONCAT 2x10000 2150.43 1754.46 264 LIST concat EVAL/LAPPEND 2x10 48.02 47.82 265 LIST concat EVAL/LAPPEND 2x100 73.79 64.92 266 LIST concat EVAL/LAPPEND 2x1000 284.84 233.74 267 LIST concat EVAL/LAPPEND 2x10000 3320.84 3232.47 268 LIST concat FOREACH/LAPPEND 2x10 56.96 70.37 269 LIST concat FOREACH/LAPPEND 2x100 306.97 459.20 270 LIST concat FOREACH/LAPPEND 2x1000 2811.22 4296.21 271 LIST concat FOREACH/LAPPEND 2x10000 28390.23 44093.84 272 LIST concat SET 2x10 119.30 96.56 273 LIST concat SET 2x100 991.45 732.12 274 LIST concat SET 2x1000 8739.43 7200.35 275 LIST concat SET 2x10000 90482.68 75050.36 276 LIST exact search, first item 16.93 20.36 277 LIST exact search, last item 41.33 45.24 278 LIST exact search, middle item 26.60 29.78 279 LIST exact search, non-item 86.15 90.51 280 LIST exact search, typed item 36.92 55.49 281 LIST exact search, untyped item 41.40 45.72 282 LIST index first element 13.12 15.43 283 LIST index last element 13.23 15.18 284 LIST index middle element 13.09 15.56 285 LIST insert an item at "end" 97.44 88.09 286 LIST insert an item at middle 97.44 86.70 287 LIST insert an item at start 96.34 86.26 288 LIST iterate list 2326.31 3063.29 289 LIST join list 1169.45 1125.50 290 LIST large, early range 32.29 31.30 291 LIST large, late range 31.87 30.17 292 LIST length, pure list 13.32 16.28 293 LIST list 46.19 64.12 294 LIST lset foreach l 4092.59 4497.54 295 LIST lset foreach list 4079.84 4333.31 296 LIST lset foreach ""s l 854.89 1136.00 297 LIST lset foreach ""s list 856.96 1146.10 298 LIST regexp search, first item 18.93 22.02 299 LIST regexp search, last item 247.69 247.84 300 LIST regexp search, non-item 475.42 485.98 301 LIST remove first element 95.61 85.31 302 LIST remove in mixed list 91.33 87.52 303 LIST remove last element 97.26 86.97 304 LIST remove middle element 97.01 87.26 305 LIST replace first el with multiple 98.17 102.11 306 LIST replace first element 96.91 86.59 307 LIST replace in mixed list 91.67 88.86 308 LIST replace last el with multiple 103.18 93.66 309 LIST replace last element 116.58 91.71 310 LIST replace middle el with multiple 100.53 90.49 311 LIST replace middle element 99.28 89.34 312 LIST replace range 45.58 34.65 313 LIST reverse core 103.20 98.61 314 LIST reverse lappend 2614.26 2592.55 315 LIST small, early range 22.89 22.77 316 LIST small, late range 22.20 21.98 317 LIST sort 1742.91 1625.46 318 LIST sorted search, first item 18.76 22.71 319 LIST sorted search, last item 18.75 22.07 320 LIST sorted search, middle item 18.79 22.14 321 LIST sorted search, non-item 19.11 22.29 322 LIST sorted search, typed item 19.00 22.46 323 LIST typed sort 1312.55 1216.27 324 LOOP for (to 1000) 1514.28 1517.32 325 LOOP for, iterate list 1834.50 1868.06 326 LOOP for, iterate string 5311.99 3988.62 327 LOOP foreach, iterate list 2130.98 3469.73 328 LOOP foreach, iterate string 2819.59 4162.03 329 LOOP while (to 1000) 1466.84 1502.92 330 LOOP while 1 (to 1000) 1253.43 1285.86 331 MAP ([chars])-case regsub 305.04 294.46 332 MAP http mapReply 82921.44 73843.26 333 MAP regsub -nocase, no match 2186.37 2353.00 334 MAP regsub 1 val 803.26 590.28 335 MAP regsub 1 val -nocase 1612.43 1494.75 336 MAP regsub 2 val 1814.00 1428.23 337 MAP regsub 2 val -nocase 3322.16 3073.30 338 MAP regsub 3 val 2482.73 1979.73 339 MAP regsub 3 val -nocase 4917.17 4355.12 340 MAP regsub 4 val 3173.76 2479.02 341 MAP regsub 4 val -nocase 6034.11 5801.36 342 MAP regsub short 48.15 46.53 343 MAP regsub, no match 441.01 456.55 344 MAP string -nocase, no match 3358.70 3439.94 345 MAP string 1 val 747.64 665.10 346 MAP string 1 val -nocase 1696.59 1557.07 347 MAP string 2 val 1961.27 1849.53 348 MAP string 2 val -nocase 3445.62 3461.60 349 MAP string 3 val 2344.66 2193.54 350 MAP string 3 val -nocase 4468.84 4400.34 351 MAP string 4 val 2643.53 2629.80 352 MAP string 4 val -nocase 5261.70 5236.57 353 MAP string short 50.18 47.01 354 MAP string, no match 1382.60 1345.56 355 MAP |-case regsub 150.67 188.55 356 MAP |-case strmap 48.69 46.09 357 MATRIX mult 5x5 916.52 1451.74 358 MATRIX mult 10x10 6110.47 10447.67 359 MATRIX mult 15x15 19936.83 33669.53 360 MATRIX transposition-0 9072.47 6503.91 361 MATRIX transposition-1 3858.89 3677.67 362 MD5 msg len 10 2540.79 2946.29 363 MD5 msg len 100 4570.40 5516.12 364 MD5 msg len 1000 32414.20 43019.65 365 MD5 msg len 10000 314672.6 435551.6 366 MTHD array stored proc call 14.64 19.01 367 MTHD call absolute 28.89 33.43 368 MTHD call relative 33.04 38.39 369 MTHD direct ns proc call 10.16 35.68 370 MTHD imported ns proc call 11.45 15.07 371 MTHD indirect proc eval 37.20 39.25 372 MTHD indirect proc eval #2 30.66 35.48 373 MTHD inline call 4.84 5.63 374 MTHD interp alias proc call 19.89 22.13 375 MTHD ns lookup call 107.17 101.65 376 MTHD switch method call 39.05 40.23 377 NS alternating 3587.02 2834.16 378 PARSE html form upload (7978) 20219.35 19536.80 379 PARSE html form upload (993570) 2471410 2371983 380 PROC do-nothing, no args 9.28 10.63 381 PROC do-nothing, one arg 9.69 11.11 382 PROC empty, no args 2.96 3.73 383 PROC empty, use args 2.98 3.68 384 PROC explicit return 9.69 11.19 385 PROC explicit return (2) 9.64 12.07 386 PROC explicit return (3) 9.69 11.37 387 PROC heavily commented 9.75 11.25 388 PROC implicit return 10.85 11.92 389 PROC implicit return (2) 9.87 11.40 390 PROC implicit return (3) 9.71 11.41 391 PROC local links with global 423.86 437.69 392 PROC local links with upvar 404.61 383.25 393 PROC local links with variable 381.83 395.41 394 RE 1-char long-end 76.50 78.78 395 RE 1-char long-end catching 135.36 136.13 396 RE 1-char long-middle 50.56 52.91 397 RE 1-char long-middle catching 109.92 110.68 398 RE 1-char long-start 26.12 28.68 399 RE 1-char long-start catching 84.76 85.90 400 RE 1-char short 25.99 27.76 401 RE 1-char short catching 84.79 85.37 402 RE basic 22.06 24.71 403 RE basic catching 97.22 96.13 404 RE c-comment long 105.17 93.86 405 RE c-comment long catching 311.39 285.09 406 RE c-comment long nomatch 143.69 132.77 407 RE c-comment long nomatch catching 150.04 141.41 408 RE c-comment long pmatch 158.98 146.55 409 RE c-comment long pmatch catching 164.14 155.18 410 RE c-comment many *s 177.62 151.75 411 RE c-comment many *s catching 489.10 457.87 412 RE c-comment nomatch 44.01 33.04 413 RE c-comment nomatch catching 50.20 39.11 414 RE c-comment simple 65.65 53.44 415 RE c-comment simple catching 232.70 214.21 416 RE count all matches 176.85 190.19 417 RE extract all matches 216.52 214.20 418 RE ini file 102372.7 103180.9 419 RE ini file ng 742.45 738.17 420 RE literal regexp 37.40 40.44 421 RE n-char long-end 77.53 94.44 422 RE n-char long-end catching 153.75 150.80 423 RE n-char long-middle 52.14 54.38 424 RE n-char long-middle catching 126.45 125.34 425 RE n-char long-start 26.79 28.85 426 RE n-char long-start catching 99.27 99.94 427 RE n-char short 26.58 28.84 428 RE n-char short catching 98.96 97.96 429 RE static anchored match 10.19 11.56 430 RE static anchored match dot 10.86 12.28 431 RE static anchored nomatch 10.28 11.79 432 RE static anchored nomatch dot 10.59 11.85 433 RE static l-anchored match 11.16 12.22 434 RE static l-anchored nomatch 10.41 12.51 435 RE static long match 28.26 30.26 436 RE static long nomatch 36.86 38.15 437 RE static r-anchored match 11.58 12.53 438 RE static r-anchored nomatch 11.30 12.82 439 RE static short match 11.54 12.96 440 RE static short nomatch 11.20 12.61 441 RE var ***= directive match 22.21 22.55 442 RE var ***= directive nomatch 23.22 23.37 443 RE var . match 17.90 18.30 444 RE var [0-9] match 37.01 39.31 445 RE var \d match 37.61 40.41 446 RE var ^$ nomatch 18.65 32.32 447 RE var backtrack case 39.43 42.81 448 RE var-based regexp 40.05 42.30 449 READ 595K, cat 373235.3 323909.1 450 READ 595K, gets 304965.4 232732.0 451 READ 595K, glob-grep match 388149.0 310391.9 452 READ 595K, glob-grep nomatch 393394.3 314952.2 453 READ 595K, read 51480.94 46662.03 454 READ 595K, read & size 49007.23 46734.11 455 READ 595K, read dyn buf 47722.06 47248.37 456 READ 595K, read small buf 1884303 1904145 457 READ 3050b, cat 2476.46 2202.34 458 READ 3050b, gets 1747.16 1472.94 459 READ 3050b, glob-grep match 2270.64 1865.96 460 READ 3050b, glob-grep nomatch 2238.89 1885.44 461 READ 3050b, read 545.12 496.83 462 READ 3050b, read & size 685.46 590.83 463 READ 3050b, read dyn buf 629.29 603.34 464 READ 3050b, read small buf 9523.17 9493.03 465 READ bin 595K, cat 228369.9 205573.8 466 READ bin 595K, gets 174703.6 154098.1 467 READ bin 595K, glob-grep match 201084.4 185205.7 468 READ bin 595K, glob-grep nomatch 204857.8 188949.0 469 READ bin 595K, read 13113.97 17935.11 470 READ bin 595K, read & size 13203.57 17932.80 471 READ bin 595K, read dyn buf 14224.60 13775.46 472 READ bin 595K, read small buf 1743022 1768257 473 READ bin 3050b, cat 1769.60 1651.93 474 READ bin 3050b, gets 1267.12 1147.07 475 READ bin 3050b, glob-grep match 2252.29 1773.10 476 READ bin 3050b, glob-grep nomatch 2194.39 1791.26 477 READ bin 3050b, read 408.51 377.56 478 READ bin 3050b, read & size 493.64 465.61 479 READ bin 3050b, read dyn buf 496.08 465.70 480 READ bin 3050b, read small buf 9106.14 9107.49 481 SHA1 msg len 10 3577.93 4054.09 482 SHA1 msg len 100 6383.57 7428.80 483 SHA1 msg len 1000 51649.90 55188.60 484 SHA1 msg len 10000 462745.1 541188.1 485 SPLIT iter, 4000 uchars 12471.35 17211.84 486 SPLIT iter, 4010 chars 12013.73 17452.55 487 SPLIT iter, rand 100 c 914.59 789.50 488 SPLIT iter, rand 1000 c 4718.81 5306.17 489 SPLIT iter, rand 10000 c 35942.10 45002.73 490 SPLIT on 'c', 4000 uchars 825.41 791.77 491 SPLIT on 'c', 4010 chars 836.36 776.14 492 SPLIT on 'cz', 4000 uchars 2032.55 2027.55 493 SPLIT on 'cz', 4010 chars 2156.47 1952.52 494 SPLIT on 'cû', 4000 uchars 2440.23 2501.33 495 SPLIT on 'cû', 4010 chars 1767.56 1784.01 496 SPLIT, 4000 uchars 3400.24 3001.96 497 SPLIT, 4010 chars 3308.24 2920.13 498 SPLIT, rand 100 c 702.66 442.68 499 SPLIT, rand 1000 c 2532.83 1778.17 500 SPLIT, rand 10000 c 9701.55 8554.26 501 STR append 112.66 62.36 502 STR append (1KB + 1KB) 49.63 37.54 503 STR append (1MB + (1b+1K+1b)*100) 20516.74 11689.16 504 STR append (1MB + 1KB) 19940.13 10930.13 505 STR append (1MB + 1KB*20) 20090.35 10871.58 506 STR append (1MB + 1KB*1000) 23139.47 14335.32 507 STR append (1MB + 1MB*3) 128509.6 131608.7 508 STR append (1MB + 1MB*5) 320412.3 322285.7 509 STR append (1MB + 2b*1000) 21993.82 13167.69 510 STR append (10KB + 1KB) 129.92 101.99 511 STR first (failure) 111.29 113.52 512 STR first (failure) utf 111.93 113.03 513 STR first (success) 28.87 31.56 514 STR first (success) utf 29.86 31.77 515 STR first (total failure) 99.32 99.19 516 STR first (total failure) utf 97.03 98.92 517 STR index 0 21.06 19.30 518 STR index 100 20.67 18.96 519 STR index 500 20.62 18.92 520 STR info locals match 625.97 613.96 521 STR last (failure) 141.57 142.74 522 STR last (success) 28.59 31.33 523 STR last (total failure) 131.32 133.14 524 STR length (==4010) 12.91 14.81 525 STR length growing (1000) 2306.23 2259.00 526 STR length growing uc (1000) 2290.06 2279.71 527 STR length of a LIST 12.97 16.07 528 STR length static str 10.44 12.17 529 STR match, complex (failure) 112.10 116.88 530 STR match, complex (success early) 16.02 17.22 531 STR match, complex (success late) 149.12 162.50 532 STR match, complex (total failure) 74.82 76.76 533 STR match, exact (failure) 10.30 11.85 534 STR match, exact (success) 10.14 12.26 535 STR match, exact -nocase (failure) 10.80 12.21 536 STR match, exact -nocase (success) 14.25 15.59 537 STR match, recurse (fail backtrack) 1280.90 1038.12 538 STR match, recurse (fail bt1) 1053.35 1048.41 539 STR match, recurse (fail bt2) 1045.00 1057.78 540 STR match, recurse (fail ranchor) 110387.5 110477.1 541 STR match, recurse (success bt2) 134.36 130.30 542 STR match, recurse2 (fail) 169095.9 169172.5 543 STR match, recurse2 (success) 123.75 118.43 544 STR match, simple (failure) 11.37 13.02 545 STR match, simple (success) 11.65 13.16 546 STR range, index 100..200 of 4010 33.64 32.76 547 STR repeat, 4010 chars * 10 138.17 144.43 548 STR repeat, 4010 chars * 100 1767.67 1773.28 549 STR repeat, abcdefghij * 10 29.36 28.71 550 STR repeat, abcdefghij * 100 44.25 43.05 551 STR repeat, abcdefghij * 1000 198.49 184.36 552 STR replace, equal replacement 76.06 49.97 553 STR replace, longer replacement 76.88 51.28 554 STR replace, no replacement 71.94 47.98 555 STR reverse core, 10 c 51.96 35.37 556 STR reverse core, 10 uc 38.04 35.48 557 STR reverse core, 100 c 39.53 36.79 558 STR reverse core, 100 uc 39.35 36.95 559 STR reverse core, 400 c 44.49 50.57 560 STR reverse core, 400 uc 43.96 41.80 561 STR reverse iter/append, 10 c 98.64 77.00 562 STR reverse iter/append, 10 uc 98.83 77.84 563 STR reverse iter/append, 100 c 676.86 545.42 564 STR reverse iter/append, 100 uc 676.30 530.05 565 STR reverse iter/append, 400 c 2605.54 2031.58 566 STR reverse iter/append, 400 uc 2637.40 2026.09 567 STR reverse iter/set, 10 c 114.83 87.41 568 STR reverse iter/set, 10 uc 114.05 88.15 569 STR reverse iter/set, 100 c 986.43 714.67 570 STR reverse iter/set, 100 uc 998.33 715.32 571 STR reverse iter/set, 400 c 4084.91 3024.97 572 STR reverse iter/set, 400 uc 4121.89 3227.25 573 STR reverse recursive, 10 c 380.89 368.67 574 STR reverse recursive, 10 uc 382.12 368.94 575 STR reverse recursive, 100 c 3650.82 3599.29 576 STR reverse recursive, 100 uc 3633.07 3545.36 577 STR reverse recursive, 400 c 16644.89 15512.67 578 STR reverse recursive, 400 uc 17772.37 15565.99 579 STR str $a eq $b 20.51 22.39 580 STR str $a eq $b (same obj) 20.84 23.05 581 STR str $a equal "" 15.78 17.35 582 STR str $a ne $b 20.85 23.27 583 STR str $a ne $b (same obj) 20.29 23.44 584 STR str num == "" 16.83 17.58 585 STR strcmp bin long eq 173.57 185.36 586 STR strcmp bin long neq 191.08 186.68 587 STR strcmp bin long neqS 107.95 83.46 588 STR strcmp bin short eq 66.76 65.02 589 STR streq bin long eq 178.13 203.15 590 STR streq bin long neq 179.93 190.07 591 STR streq bin long neqS 110.92 83.82 592 STR streq bin short eq 70.27 67.98 593 STR string compare 18.98 23.42 594 STR string compare "" 17.09 18.57 595 STR string compare long 62.96 65.20 596 STR string compare long (same obj) 17.60 19.30 597 STR string compare mixed long 408.43 542.51 598 STR string compare uni long 424.91 433.18 599 STR string equal "" 17.64 21.77 600 STR string equal long (!= len) 38.42 31.06 601 STR string equal long (== len) 66.74 68.59 602 STR string equal long (same obj) 21.91 22.70 603 STR string equal mixed long 22.38 24.38 604 STR string equal uni long 110.20 112.45 605 STR/LIST length, obj shimmer 4726.49 3828.84 606 SWITCH 1st true 16.19 15.09 607 SWITCH 2nd true 14.95 15.05 608 SWITCH 9th true 13.21 14.78 609 SWITCH default true 12.96 14.78 610 TRACE all set (rwu) 23.36 21.71 611 TRACE no trace set 23.14 21.54 612 TRACE read 23.30 21.64 613 TRACE unset 24.40 23.03 614 TRACE write 23.97 21.74 615 UNSET catch var !exist 170.59 141.68 616 UNSET catch var exists 11.32 12.92 617 UNSET info check var !exist 12.19 14.09 618 UNSET info check var exists 11.10 12.89 619 UNSET nocomplain var !exist 10.78 12.44 620 UNSET nocomplain var exists 10.36 12.02 621 UNSET var exists 10.99 12.06 622 UPLEVEL none 3235.30 5365.68 623 UPLEVEL primed 10087.90 13286.20 624 UPLEVEL to nseval 16713.12 20146.40 625 UPLEVEL to proc 15986.10 19513.94 626 VAR 'array set' of 100 elems 165.68 166.48 627 VAR 100 'set's in array 134.58 136.56 628 VAR access global 15.82 17.94 629 VAR access local proc arg 12.37 14.06 630 VAR access locally set 12.62 14.16 631 VAR access upvar 16.43 17.52 632 VAR incr global var 1000x 3275.15 4422.00 633 VAR incr local var 1000x 3343.04 4422.41 634 VAR incr upvar var 1000x 3304.50 4414.08 635 VAR mset 15.97 19.25 636 VAR mset (foreach) 14.29 18.82 637 VAR ref absolute 1127.87 1032.29 638 VAR ref local 60.97 64.13 639 VAR ref variable 67.58 71.10 640 VAR set array element 14.42 16.21 641 VAR set scalar 10.30 11.71 642 WORDCOUNT wc1 5374.23 4693.93 643 WORDCOUNT wc2 1727.41 1537.11 644 WORDCOUNT wc3 1565.71 1375.24 644 BENCHMARKS 1:8.6b3 2:8.6b3 FINISHED 2012-12-17 15:59:44 TK_INTERP: STARTED 2012-12-17 15:59:44 (runbench.tcl v1.30) AUTOSCALING ON - total elapsed time may be skewed 000 VERSIONS: 000 BENCHMARKS FINISHED 2012-12-17 15:59:45