mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1463408 part 1 - Remove unused restyle profiler feature. r=mstange
MozReview-Commit-ID: F5i5W02jhEV --HG-- extra : rebase_source : 5fdddf6383f334c831396dc8348a7d3c032c93a6
This commit is contained in:
parent
e186d16906
commit
4f8d1e3a65
@ -30,7 +30,6 @@
|
||||
"memory",
|
||||
"privacy",
|
||||
"responsiveness",
|
||||
"restyle",
|
||||
"screenshots",
|
||||
"stackwalk",
|
||||
"tasktracer",
|
||||
|
@ -125,9 +125,6 @@ class TimeStamp;
|
||||
/* Collect thread responsiveness information. */ \
|
||||
macro(6, "responsiveness", Responsiveness) \
|
||||
\
|
||||
/* Restyle profiling. */ \
|
||||
macro(7, "restyle", Restyle) \
|
||||
\
|
||||
/* Take a snapshot of the window on every composition. */ \
|
||||
macro(7, "screenshots", Screenshots) \
|
||||
\
|
||||
|
@ -42,7 +42,6 @@ InactiveFeaturesAndParamsCheck()
|
||||
ASSERT_TRUE(!profiler_is_active());
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
profiler_get_start_params(&entries, &interval, &features, &filters);
|
||||
|
||||
@ -87,7 +86,6 @@ TEST(GeckoProfiler, FeaturesAndParams)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
ActiveParamsCheck(PROFILER_DEFAULT_ENTRIES, PROFILER_DEFAULT_INTERVAL,
|
||||
features, filters, MOZ_ARRAY_LENGTH(filters));
|
||||
@ -109,7 +107,6 @@ TEST(GeckoProfiler, FeaturesAndParams)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
// Profiler::Threads is added because filters has multiple entries.
|
||||
ActiveParamsCheck(999999, 3,
|
||||
@ -132,7 +129,6 @@ TEST(GeckoProfiler, FeaturesAndParams)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
ActiveParamsCheck(88888, 10,
|
||||
availableFeatures, filters, MOZ_ARRAY_LENGTH(filters));
|
||||
@ -153,7 +149,6 @@ TEST(GeckoProfiler, FeaturesAndParams)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
// Entries and intervals go to defaults if 0 is specified.
|
||||
ActiveParamsCheck(PROFILER_DEFAULT_ENTRIES, PROFILER_DEFAULT_INTERVAL,
|
||||
@ -267,7 +262,6 @@ TEST(GeckoProfiler, DifferentThreads)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
ActiveParamsCheck(PROFILER_DEFAULT_ENTRIES, PROFILER_DEFAULT_INTERVAL,
|
||||
features, filters, MOZ_ARRAY_LENGTH(filters));
|
||||
@ -296,7 +290,6 @@ TEST(GeckoProfiler, DifferentThreads)
|
||||
ASSERT_TRUE(profiler_is_active());
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::MainThreadIO));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Privacy));
|
||||
ASSERT_TRUE(!profiler_feature_active(ProfilerFeature::Restyle));
|
||||
|
||||
ActiveParamsCheck(PROFILER_DEFAULT_ENTRIES,
|
||||
PROFILER_DEFAULT_INTERVAL,
|
||||
|
Loading…
Reference in New Issue
Block a user