Posted to tcl by JH at Mon Dec 31 20:24:50 GMT 2007view raw

  1. Using diff3 at
  2. https://sourceforge.net/tracker/?func=detail&aid=1860727&group_id=10894&atid=310894
  3. and enabling PCRE with env TCL_REGEXP_PCRE=1.
  4.  
  5. TCL_INTERP: 1:8.5.0 2:8.5.0
  6. STARTED 2007-12-31 12:21:26 (runbench.tcl v1.21)
  7. Benchmark 1:8.5.0 /home/jeffh/install/linux-ix86/bin/tclsh8.5-head
  8. r 00:00:01 elapsed
  9. 1564 milliseconds
  10. Benchmark 2:8.5.0 /home/jeffh/install/linux-ix86/bin/tclsh8.5-pcre
  11. r 00:00:01 elapsed
  12. 504 milliseconds
  13. 000 VERSIONS: 1:8.5.0 2:8.5.0
  14. 001 RE 1-char long-end 16.49 7.24
  15. 002 RE 1-char long-end catching 27.42 13.33
  16. 003 RE 1-char long-middle 10.62 4.81
  17. 004 RE 1-char long-middle catching 21.82 11.49
  18. 005 RE 1-char long-start 4.74 3.25
  19. 006 RE 1-char long-start catching 15.69 9.70
  20. 007 RE 1-char short 4.94 3.27
  21. 008 RE 1-char short catching 16.22 9.29
  22. 009 RE basic 3.79 3.95
  23. 010 RE basic catching 17.31 10.13
  24. 011 RE c-comment long 17.77 8.34
  25. 012 RE c-comment long catching 60.60 16.12
  26. 013 RE c-comment long nomatch 27.28 10.04
  27. 014 RE c-comment long nomatch catching 29.61 10.62
  28. 015 RE c-comment long pmatch 30.03 53.70
  29. 016 RE c-comment long pmatch catching 32.55 56.00
  30. 017 RE c-comment many *s 33.16 13.14
  31. 018 RE c-comment many *s catching 98.61 22.49
  32. 019 RE c-comment nomatch 4.66 2.83
  33. 020 RE c-comment nomatch catching 7.29 3.72
  34. 021 RE c-comment simple 8.87 6.19
  35. 022 RE c-comment simple catching 45.79 13.14
  36. 023 RE count all matches 28.93 5.58
  37. 024 RE extract all matches 33.30 10.30
  38. 025 RE ini file 19209.57 274.57
  39. 026 RE ini file ng 189.26 33.98
  40. 027 RE literal regexp 8.08 17.30
  41. 028 RE n-char long-end 15.73 7.08
  42. 029 RE n-char long-end catching 30.35 13.47
  43. 030 RE n-char long-middle 10.21 10.57
  44. 031 RE n-char long-middle catching 25.63 11.66
  45. 032 RE n-char long-start 4.75 3.48
  46. 033 RE n-char long-start catching 19.15 9.89
  47. 034 RE n-char short 4.67 3.25
  48. 035 RE n-char short catching 18.07 10.00
  49. 036 RE static anchored match 1.46 1.47
  50. 037 RE static anchored match dot 1.61 1.63
  51. 038 RE static anchored nomatch 1.51 1.49
  52. 039 RE static anchored nomatch dot 1.53 1.48
  53. 040 RE static l-anchored match 1.53 1.55
  54. 041 RE static l-anchored nomatch 1.59 1.50
  55. 042 RE static long match 4.52 4.60
  56. 043 RE static long nomatch 6.29 5.77
  57. 044 RE static r-anchored match 1.83 1.73
  58. 045 RE static r-anchored nomatch 1.87 1.82
  59. 046 RE static short match 1.76 1.72
  60. 047 RE static short nomatch 1.75 1.73
  61. 048 RE var ***= directive match 3.38 ERR
  62. 049 RE var ***= directive nomatch 3.53 ERR
  63. 050 RE var . match 3.29 3.16
  64. 051 RE var [0-9] match 7.42 3.54
  65. 052 RE var \d match 7.86 12.13
  66. 053 RE var ^$ nomatch 3.42 2.89
  67. 054 RE var backtrack case 81.02 3.47
  68. 055 RE var-based regexp 7.42 6.96
  69. 055 BENCHMARKS 1:8.5.0 2:8.5.0
  70. FINISHED 2007-12-31 12:21:28
  71.