gecko-dev/xpcom/tests/gtest
Tarek Ziadé 90bafd1f42 Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre
PerformanceCounters are currently disabled in two ways:

- a preference that's off by default "dom.performance.enable_scheduler_timing"
- calls made only for nightly using #ifndef RELEASE_OR_BETA

In order to simplify the code, let's remove the #ifndef and rely only on the pref.
That will also allows us to use the feature in every version going forward.

The performance will not be impacted since the current code is already using
the (cached) pref value to determine if the counters are used.

MozReview-Commit-ID: 47t2M1O13aH

--HG--
extra : rebase_source : e129e1829f1dc37c019e50e156474c4876d6d6cb
2018-04-24 22:03:06 +02:00
..
wikipedia Bug 1436330 - Add microbenchmarks for XPCOM string encoding conversions. r=froydnj 2018-02-07 14:32:52 +02:00
Helpers.cpp Bug 1413920 - nsMultiplexInputStream should call OnInputStreamReady on close, r=smaug 2017-11-06 14:20:15 +01:00
Helpers.h Bug 1413920 - nsMultiplexInputStream should call OnInputStreamReady on close, r=smaug 2017-11-06 14:20:15 +01:00
TestAllocReplacement.cpp Bug 1433015 - Turn AllocReplacement gtests into death tests r=froydnj 2018-02-22 10:27:42 +01:00
TestArenaAllocator.cpp Bug 1406727. r=froydnj 2017-11-16 16:09:28 +13:00
TestAtoms.cpp Bug 1449395 - Remove unnecessary nsStaticAtom.h includes. r=froydnj 2018-03-29 09:08:54 +11:00
TestAutoPtr.cpp
TestAutoRef.cpp
TestAutoRefCnt.cpp Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
TestBase64.cpp Bug 1362449 - part 0 - add test cases for base64 string encode/decode; r=erahm 2017-09-06 16:58:37 -04:00
TestCOMArray.cpp
TestCOMPtr.cpp
TestCOMPtrEq.cpp
TestCRT.cpp Bug 1427023 - Remove nsCRT::strncmp. r=erahm 2018-01-09 23:49:37 +09:00
TestCallTemplates.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
TestCloneInputStream.cpp Bug 1421094 - Make nsBufferedStream cloneable, r=smaug 2017-12-12 18:38:19 -06:00
TestDafsa.cpp Bug 1380154 - Part 1: Add the Chromium DAFSA generator. r=njn 2017-07-17 16:09:42 -07:00
TestDeadlockDetector.cpp Bug 1436263 - Part 1: Replace `final override` virtual function specifiers with just `final`. r=froydnj 2018-02-05 22:46:57 -08:00
TestDeadlockDetectorScalability.cpp Bug 1412048 - Replace NS_RUNTIMEABORT("...") with MOZ_CRASH("..."). r=froydnj 2017-10-24 23:30:31 -07:00
TestEncoding.cpp
TestEscape.cpp Bug 1385172 - Replace nsEscapeHTML{,2}() with new nsAppendEscapedHTML() function. r=erahm. 2017-08-18 12:00:59 +10:00
TestEventPriorities.cpp Bug 1397052 - Add gtest for concurrent accessing. r=froydnj 2017-09-07 10:08:31 +10:00
TestEventTargetQI.cpp Bug 1382922 - Refactor event queue to allow multiple implementations (r=erahm) 2017-08-16 20:55:43 -07:00
TestExpirationTracker.cpp Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj 2017-11-05 19:37:28 -08:00
TestFile.cpp Bug 1428557 - Stop using GetNativePath in xpcom/. r=froydnj 2017-12-15 06:53:37 +09:00
TestGCPostBarriers.cpp Bug 1417844 part 2 - Remove JSVersion from CompileOptions, CompartmentBehaviors, scripts. r=evilpie 2017-11-17 12:12:39 +01:00
TestHashtables.cpp Bug 1433351 - Add nsBaseHashtable::EntryPtr::OrRemove method to abort nsBaseHashtable::LookupForAdd on miss. r=froydnj 2018-03-28 12:58:49 -04:00
TestID.cpp
TestLogCommandLineHandler.cpp Bug 1451686 - Allow also -MOZ_LOG/_FILE=value form of the logging arguments. r=erahm 2018-04-13 05:38:00 -04:00
TestMoveString.cpp Bug 1448138 - Rename string DataFlags::SHARED to REFCOUNTED to make it clearer to those reading the code. r=erahm 2018-03-23 17:31:37 -07:00
TestMozPromise.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TestMultiplexInputStream.cpp Bug 1424183 - nsMultiplexInputStream must not call AsyncOpen on more than the current stream, r=smaug 2017-12-13 05:11:11 -06:00
TestNSPRLogModulesParser.cpp
TestNonBlockingAsyncInputStream.cpp Bug 1405974 - NonBlockingAsyncInputStream must take the ownership of the underlying stream, r=qdot 2018-01-31 16:45:20 +01:00
TestNsDeque.cpp
TestNsRefPtr.cpp
TestObserverArray.cpp
TestObserverService.cpp
TestPLDHash.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
TestPipes.cpp
TestPriorityQueue.cpp
TestRWLock.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
TestRacingServiceManager.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
TestRecursiveMutex.cpp
TestSTLWrappers.cpp Bug 1402519 - Remove MOZ_CRASHREPORTER directives from xpcom; r=froydnj 2017-10-10 11:59:39 +02:00
TestSlicedInputStream.cpp Bug 1414767 - Moving SlicedInputStream under mozilla namespace, r=froydnj 2017-11-07 01:04:06 +01:00
TestSnappyStreams.cpp
TestStateWatching.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TestStorageStream.cpp
TestStringStream.cpp
TestStrings.cpp Bug 1436330 - Add microbenchmarks for XPCOM string encoding conversions. r=froydnj 2018-02-07 14:32:52 +02:00
TestSynchronization.cpp
TestTArray.cpp Bug 1453610 - Add a '*&' to a self-assignment to silent a -Wself-assign warning r=froydnj 2018-04-12 13:42:20 +02:00
TestTArray2.cpp Bug 1349821 - reduce iterations for 32-bit Windows to OOM in TestTArray.test_fallible; r=erahm 2017-08-22 16:08:18 -04:00
TestTaskQueue.cpp Bug 1416724 - part 1 - AbstractThread::Dispatch should propage errors if failing the dispatching of Runnables, r=jwwang 2017-11-15 07:58:02 +01:00
TestTextFormatter.cpp Bug 1401821 - nsTextFormatter "*" width argument comes before the actual argument; r=froydnj 2017-09-21 09:43:28 -06:00
TestThreadManager.cpp Bug 1371699 - gtest for NonBlockingAsyncInputStream, r=froydnj 2018-01-31 16:45:20 +01:00
TestThreadMetrics.cpp Bug 1437438 - Add a performance counter to track scheduler activity - r=farre,froydnj 2018-03-06 10:19:19 +01:00
TestThreadPool.cpp Bug 1437167 - Part 1: Stop using PRIntervalTime as the argument to CondVar::Wait and Monitor::Wait, r=mstange, r=froydnj 2018-04-10 17:49:47 -04:00
TestThreadPoolListener.cpp Bug 1372405 - Provide names for all runnables in the tree (r=froydnj) 2017-06-26 14:19:58 -07:00
TestThreadUtils.cpp Bug 1447744 - don't implement nsINamed for mozilla::Runnable when it's unused; r=erahm 2018-03-23 14:53:55 -04:00
TestThreads.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
TestTimeStamp.cpp
TestTimers.cpp Bug 1404198: Part 2b - Switch to NS_NewTimer* in xpcom. r=njn 2017-10-15 23:11:22 -07:00
TestTokenizer.cpp Bug 1295941 - Let mozilla::Tokenizer read signed integers from the input, r=erahm 2018-01-17 06:23:00 +02:00
TestUTF.cpp
UTFStrings.h
dafsa_test_1.dat Bug 1380154 - Part 1: Add the Chromium DAFSA generator. r=njn 2017-07-17 16:09:42 -07:00
moz.build Bug 1452580 - remove RELEASE_OR_BETA defines for PerformanceCounter usage - r=baku,erahm,farre 2018-04-24 22:03:06 +02:00