Readit News logoReadit News
devops000 · 5 years ago
Very cool! Do you know how to make it default for every method in the rails app? Instead of call it everywhere.

It will be very interesting to inspect which method is responsible for most of time, keep track of time in a dashboard and see how refactoring improves time (a line in a chart)

mooreds · 5 years ago
I don't know how to do that, unfortunately. You might want to file an issue requesting this functionality (or, if the functionality already exists, documentation around it).

https://github.com/testdouble/time_up/issues

doggodaddo78 · 5 years ago
There's already Benchmark.

On x86, absolute_time

https://github.com/bwbuchanan/absolute_time