2 ms·
I check if there is a nice utility method to log timing information. If not, I add one and sprinkle the code with timer logs. Push the change to production, let
by amirathi 8y ago
I check if there is a nice utility method to log timing information. If not, I add one and sprinkle the code with timer logs. Push the change to production, let it run for a bit, collect the logs & revert my commit. Easier to find culprit this way.
Bonus point if you push timing information as metrics to cloudwatch or whatever else you use. Important to look at stats like P90 for slow code that is not reproduced every time.