Posted to tcl by lmcvoy at Tue Nov 13 16:57:08 GMT 2007view raw
- ==== cat.tcl ==== ==== cat.tcl ====
- real 0m2.693s | real 0m2.093s 0.77x
- ==== grep.tcl ==== ==== grep.tcl ====
- real 0m5.541s | real 0m2.280s 0.41x
- ==== hash.tcl ==== ==== hash.tcl ====
- real 0m2.525s | real 0m2.430s 0.96x
- ==== loop.tcl ==== ==== loop.tcl ====
- real 0m0.127s | real 0m0.131s 1.03x
- ==== proc.tcl ==== ==== proc.tcl ====
- real 0m0.832s | real 0m0.733s 0.88x
- ==== sort.tcl ==== ==== sort.tcl ====
- real 0m8.808s | real 0m7.847s 0.89x
- ==== cat.l ==== ==== cat.l ====
- real 0m2.751s | real 0m2.703s 0.98x Why not as good as tcl?
- ==== grep.l ==== ==== grep.l ====
- real 0m3.983s | real 0m3.693s 0.93x Ditto
- ==== hash.l ==== ==== hash.l ====
- real 0m3.176s | core dumped
- ==== loop.l ==== ==== loop.l ====
- real 0m0.180s | real 0m0.184s 1.02x
- ==== proc.l ==== ==== proc.l ====
- real 0m0.838s | real 0m0.741s 0.88x
- ==== sort.l ==== ==== sort.l ====
- real 0m10.668s | real 0m9.307s 0.87x
-
Comments
Posted by JH at Tue Nov 13 17:49:02 GMT 2007 [text] [code]
On my SuSE 9.2 Linux x64 machine (Athlong 2800+, 512K cache, 1GB mem), stock Tcl compile of 8.5b2 and HEAD. I see the new versions at: cat.tcl 0.577x grep.tcl 0.405x hash.tcl 1.021x loop.tcl 0.985x proc.tcl 0.906x sort.tcl 0.676x So my cat and sort seem to perform better, with the others on par.