Files
gitlabhq/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-06 17:40:26 +02:00
2016-05-31 19:33:46 -03:00
2015-11-30 18:36:34 +02:00
2015-12-15 00:53:52 -02:00
2014-09-29 12:05:17 +03:00
2016-06-12 21:05:58 -04:00
2015-11-18 13:31:18 +01:00
2014-10-06 00:14:46 +02:00
2016-06-10 14:51:16 +02:00
2016-06-01 12:10:08 +02:00
2015-02-24 15:07:24 +01:00
2016-04-13 13:12:05 +03:00
2014-10-06 00:14:46 +02:00
2016-06-15 14:59:37 +02:00
2016-04-28 21:28:39 +02:00
2014-10-31 17:22:16 -07:00
2016-05-26 13:58:01 +02:00
2014-10-06 00:14:46 +02:00
2015-03-24 18:35:57 -07:00
2014-10-06 00:14:46 +02:00
2016-06-14 13:04:21 +02:00
2016-06-03 10:37:09 -06:00
2014-10-06 00:14:46 +02:00
2015-08-26 11:30:38 -07:00
2016-05-23 09:11:21 +02:00
2016-03-10 12:37:14 +01:00
2013-06-06 10:10:51 +09:00
2016-06-15 14:59:37 +02:00