Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(692)

Unified Diff: tracing/tracing/extras/vsync/vsync_auditor_test.html

Issue 2162963002: [polymer] Merge of master into polymer10-migration (Closed) Base URL: git@github.com:catapult-project/catapult.git@polymer10-migration
Patch Set: Merge polymer10-migration int polymer10-merge Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tracing/tracing/extras/vsync/vsync_auditor_test.html
diff --git a/tracing/tracing/extras/vsync/vsync_auditor_test.html b/tracing/tracing/extras/vsync/vsync_auditor_test.html
index 4f4523aef71311fcf81871fa80eb1ef56b7a60d6..4672fe353eb43df494ba1cdd05a466ea024efbe9 100644
--- a/tracing/tracing/extras/vsync/vsync_auditor_test.html
+++ b/tracing/tracing/extras/vsync/vsync_auditor_test.html
@@ -79,6 +79,14 @@ tr.b.unittest.testSuite(function() {
], [], [1, 5, 6, 7]);
});
+ test('filterNearDuplicates', function() {
+ testFindVSyncTimestamps([
+ [buildSlice('VSYNC', 1), buildSlice('VSYNC', 1)],
+ [buildSlice('VSYNC', 2), buildSlice('VSYNC', 2.1)],
+ [buildSlice('VSYNC', 3), buildSlice('VSYNC', 4)],
+ ], [], [1, 2, 3, 4]);
+ });
+
test('findMultipleAndroidVsyncs', function() {
testFindVSyncTimestamps([
[buildSlice('MessageLoop::RunTask', 2)],
@@ -113,7 +121,7 @@ tr.b.unittest.testSuite(function() {
});
test('findBeginFrame', function() {
- var title = 'Scheduler::BeginFrame';
+ var title = 'DisplayScheduler::BeginFrame';
testFindVSyncTimestamps([[
new ThreadSlice('', title, 0, 2, { args: { frame_time_us: 1000 } }),
new ThreadSlice('', title, 0, 4, { args: { frame_time_us: 3000 } })
@@ -121,7 +129,7 @@ tr.b.unittest.testSuite(function() {
});
test('findBeginFrame_noFrameTime', function() {
- var title = 'Scheduler::BeginFrame';
+ var title = 'DisplayScheduler::BeginFrame';
testFindVSyncTimestamps([[
new ThreadSlice('', title, 0, 2, {}),
new ThreadSlice('', title, 0, 4, { args: {} })
« no previous file with comments | « tracing/tracing/extras/vsync/vsync_auditor.html ('k') | tracing/tracing/importer/find_input_expectations.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698