Posted to tcl by lmcvoy at Tue Nov 13 16:57:08 GMT 2007view raw

  1. ==== cat.tcl ==== ==== cat.tcl ====
  2. real 0m2.693s | real 0m2.093s 0.77x
  3. ==== grep.tcl ==== ==== grep.tcl ====
  4. real 0m5.541s | real 0m2.280s 0.41x
  5. ==== hash.tcl ==== ==== hash.tcl ====
  6. real 0m2.525s | real 0m2.430s 0.96x
  7. ==== loop.tcl ==== ==== loop.tcl ====
  8. real 0m0.127s | real 0m0.131s 1.03x
  9. ==== proc.tcl ==== ==== proc.tcl ====
  10. real 0m0.832s | real 0m0.733s 0.88x
  11. ==== sort.tcl ==== ==== sort.tcl ====
  12. real 0m8.808s | real 0m7.847s 0.89x
  13. ==== cat.l ==== ==== cat.l ====
  14. real 0m2.751s | real 0m2.703s 0.98x Why not as good as tcl?
  15. ==== grep.l ==== ==== grep.l ====
  16. real 0m3.983s | real 0m3.693s 0.93x Ditto
  17. ==== hash.l ==== ==== hash.l ====
  18. real 0m3.176s | core dumped
  19. ==== loop.l ==== ==== loop.l ====
  20. real 0m0.180s | real 0m0.184s 1.02x
  21. ==== proc.l ==== ==== proc.l ====
  22. real 0m0.838s | real 0m0.741s 0.88x
  23. ==== sort.l ==== ==== sort.l ====
  24. real 0m10.668s | real 0m9.307s 0.87x
  25.  

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.