Skip to content

Instantly share code, notes, and snippets.

@tessi
Created November 22, 2012 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tessi/4131737 to your computer and use it in GitHub Desktop.
Save tessi/4131737 to your computer and use it in GitHub Desktop.
little benchmark for time bundle exec rake routes

Time taken with following command: time bundle exec rake routes twice for every MRI 1.9.3 variation explained in this blogpost for my OpenProject installation.

  • 1.9.3

    real    0m18.319s
    user    0m15.929s
    sys     0m1.452s
    
    real    0m16.496s
    user    0m15.517s
    sys     0m0.832s
  • 1.9.3 with CFLAGS="-march=corei7 -O2 -pipe"

    real    0m15.653s
    user    0m14.661s
    sys     0m0.840s
    
    real    0m15.382s
    user    0m14.525s
    sys     0m0.732s
  • 1.9.3 with "falcon patch"

    real    0m5.799s
    user    0m4.896s
    sys     0m0.824s
    
    real    0m5.652s
    user    0m4.916s
    sys     0m0.660s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment