Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jan 4, 2009
  1. @josh

    Generate target string outside the recognizer loop

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  2. @josh

    Use ActionController::PerformanceTest to organize benchmarks and prof…

    josh authored committed
    …ilings
    
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  3. @josh

    =~ is a bit faster than String#match

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  4. @josh

    Only compact match captures once

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  5. @josh

    Need to setup dummy controllers

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  6. Dyslexia is bad my friends

    authored
  7. 30% perf increase by caching controller class when possible

    authored
    ~/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)
Commits on Jan 3, 2009
  1. Forgot to re-cache recognizers...now they are. These look way better:

    authored
    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)
  2. @josh

    add some recognize benchmarks

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
  3. @josh

    removed rails app dependency so tests can run standalone

    josh authored committed
    Signed-off-by: Jeremy McAnally <jeremymcanally@gmail.com>
Commits on Jan 2, 2009
Something went wrong with that request. Please try again.