gecko-dev/dom/performance
Nicholas Nethercote 8a68e6fb83 Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange.
Currently the Gecko Profiler defines a moderate amount of stuff when
MOZ_GECKO_PROFILER is undefined. It also #includes various headers, including
JS ones. This is making it difficult to separate Gecko's media stack for
inclusion in Servo.

This patch greatly simplifies how things are exposed. The starting point is:

- GeckoProfiler.h can be #included unconditionally;

- everything else from the profiler must be guarded by MOZ_GECKO_PROFILER.

In practice this introduces way too many #ifdefs, so the patch loosens it by
adding no-op macros for a number of the most common operations.

The net result is that #ifdefs and macros are used a bit more, but almost
nothing is exposed in non-MOZ_GECKO_PROFILER builds (including
ProfilerMarkerPayload.h and GeckoProfiler.h), and understanding what is exposed
is much simpler than before.

Note also that in BHR, ThreadStackHelper is now entirely absent in
non-MOZ_GECKO_PROFILER builds.
2017-10-04 09:11:18 +11:00
..
tests Bug 1386021 - Enable PerformanceObserver on all channels. r=baku 2017-09-07 06:23:49 +09:00
moz.build Backed out changeset 6827b7bf9116 (bug 1263722) for leaks detected on mochitest shutdown. r=backout 2017-09-25 09:57:13 +02:00
Performance.cpp Bug 1403868 (part 4) - Reduce tools/profiler/public/*.h to almost nothing in non-MOZ_GECKO_PROFILER builds. r=mstange. 2017-10-04 09:11:18 +11:00
Performance.h Backed out changeset 6827b7bf9116 (bug 1263722) for leaks detected on mochitest shutdown. r=backout 2017-09-25 09:57:13 +02:00
PerformanceEntry.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceEntry.h Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMainThread.cpp Bug 1403926 - Make the PerformanceNavigationTiming timestamps be relative to startTime r=baku 2017-10-04 02:48:36 +02:00
PerformanceMainThread.h Backed out changeset 6827b7bf9116 (bug 1263722) for leaks detected on mochitest shutdown. r=backout 2017-09-25 09:57:13 +02:00
PerformanceMark.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMark.h Bug 1382768 - Performance API must be a memory reporter, r=bz 2017-07-27 09:05:51 +02:00
PerformanceMeasure.cpp Bug 1403178 - Remove mParent assertion from Performance* as it's triggered in headless mode r=baku 2017-09-28 08:26:11 +02:00
PerformanceMeasure.h Bug 1382768 - Performance API must be a memory reporter, r=bz 2017-07-27 09:05:51 +02:00
PerformanceNavigation.cpp
PerformanceNavigation.h
PerformanceNavigationTiming.cpp Bug 1403926 - Make sure PerformanceNavigationTiming timestamps are correct r=baku 2017-10-04 04:05:39 +02:00
PerformanceNavigationTiming.h Bug 1403926 - Make sure PerformanceNavigationTiming timestamps are correct r=baku 2017-10-04 04:05:39 +02:00
PerformanceObserver.cpp Bug 1396219 - Support PerformanceObserverInit.buffered. r=baku 2017-09-03 10:25:57 +09:00
PerformanceObserver.h
PerformanceObserverEntryList.cpp Bug 1396228 - Filter out by type if the type if specified for PerformanceEntry.getEntries. r=baku 2017-09-02 21:42:00 +09:00
PerformanceObserverEntryList.h
PerformanceResourceTiming.cpp Bug 1191943 P1 Implement PerformanceResourceTiming.workerStart. r=asuth 2017-10-06 09:04:54 -07:00
PerformanceResourceTiming.h Bug 1191943 P1 Implement PerformanceResourceTiming.workerStart. r=asuth 2017-10-06 09:04:54 -07:00
PerformanceService.cpp
PerformanceService.h
PerformanceTiming.cpp Bug 1191943 P1 Implement PerformanceResourceTiming.workerStart. r=asuth 2017-10-06 09:04:54 -07:00
PerformanceTiming.h Bug 1191943 P1 Implement PerformanceResourceTiming.workerStart. r=asuth 2017-10-06 09:04:54 -07:00
PerformanceWorker.cpp Bug 1323941 - navigationStart should not be exposed to workers as timing attribute, r=bz 2016-12-17 07:51:22 +01:00
PerformanceWorker.h Bug 1159003 - Remove Performance::GetAsISupports(), r=bz 2017-07-20 19:05:38 +02:00