Skip to content
Commits on Jan 4, 2009
  1. @josh

    Generate target string outside the recognizer loop

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 5, 2009
  2. @josh

    Use ActionController::PerformanceTest to organize benchmarks and prof…

    …ilings
    
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 5, 2009
  3. @josh

    =~ is a bit faster than String#match

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 5, 2009
  4. @josh

    Only compact match captures once

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 5, 2009
  5. @josh

    Need to setup dummy controllers

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 5, 2009
  6. Dyslexia is bad my friends

    committed Jan 3, 2009
  7. 30% perf increase by caching controller class when possible

    ~/code/router/vendor/plugins/krauter/benchmarks(master) > ruby recognize.rb
    Rehearsal ------------------------------------------------------
    small set (best):    0.040000   0.000000   0.040000 (  0.035980)
    small set (worst):   0.120000   0.010000   0.130000 (  0.127824)
    large set (best):    0.180000   0.000000   0.180000 (  0.180927)
    large set (worst):   9.120000   0.050000   9.170000 (  9.241206)
    --------------------------------------------- total: 9.520000sec
    
                             user     system      total        real
    small set (best):    0.030000   0.000000   0.030000 (  0.039323)
    small set (worst):   0.090000   0.000000   0.090000 (  0.089193)
    large set (best):    0.090000   0.000000   0.090000 (  0.092770)
    large set (worst):   9.190000   0.040000   9.230000 (  9.304173)
    committed Jan 3, 2009
Commits on Jan 3, 2009
  1. Forgot to re-cache recognizers...now they are. These look way better:

    Rehearsal ------------------------------------------------------
    small set (best):    0.050000   0.010000   0.060000 (  0.049336)
    small set (worst):   0.160000   0.000000   0.160000 (  0.169854)
    large set (best):    0.170000   0.010000   0.180000 (  0.184860)
    large set (worst):  12.940000   0.050000  12.990000 ( 13.074686)
    -------------------------------------------- total: 13.390000sec
    
                             user     system      total        real
    small set (best):    0.050000   0.000000   0.050000 (  0.053315)
    small set (worst):   0.130000   0.000000   0.130000 (  0.134474)
    large set (best):    0.100000   0.000000   0.100000 (  0.106628)
    large set (worst):  12.900000   0.070000  12.970000 ( 13.062215)
    committed Jan 3, 2009
  2. @josh

    add some recognize benchmarks

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 3, 2009
  3. @josh

    removed rails app dependency so tests can run standalone

    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
    josh committed with Jan 3, 2009
Commits on Jan 2, 2009
  1. First commit. Please don't hurt me.

    committed Jan 2, 2009
Something went wrong with that request. Please try again.