Files
gitlabhq/spec/lib/gitlab
Robert SpeicherandRobert Speicher a64b7cd3ba Merge branch 'performance-clock-adjustments' into 'master'
Use clock_gettime for all performance timestamps

This MR adjusts the performance monitoring code to use `Process.clock_gettime` (thus `clock_gettime(3)`) instead of `Time.now`.

Using `Time.now` / `Time.new` adds more overhead than `Process.clock_gettime`, it also doesn't provide a way of getting timestamps in nanoseconds (which `Process.clock_gettime` does allow).

See merge request !4899
(cherry picked from commit 53ad9522c4)
2016-06-28 16:46:07 -04:00
..
2016-06-07 10:25:57 +02:00
2016-03-31 09:22:28 +02:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00
2016-06-13 15:38:25 +02:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00
2016-01-19 16:26:44 +01:00
2015-12-09 11:55:42 +01:00
2016-05-26 13:58:01 +02:00
2015-12-09 11:55:42 +01:00
2016-05-29 15:03:00 -04:00
2015-12-09 11:55:42 +01:00
2016-02-01 16:20:49 +01:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00
2015-12-09 11:55:42 +01:00