Wednesday, April 30, 2014

No moar bundle exec


This is one reason why I don't use 'bundle exec'
 
 $ bash benchmark.sh

 Using bundle exec
 Hello there!

 real    0m7.037s
 user    0m14.482s
 sys     0m0.261s
 Using bundle exec with standalone
 Hello there!

 real    0m6.773s
 user    0m13.903s
 sys     0m0.304s
 Just executing the script directly
 Hello there!

 real    0m2.682s
 user    0m5.692s
 sys     0m0.117s