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

Side by Side Diff: trace_processor/experimental/mappers/task_info_map_function_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 unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <!-- 2 <!--
3 Copyright (c) 2015 The Chromium Authors. All rights reserved. 3 Copyright (c) 2015 The Chromium Authors. All rights reserved.
4 Use of this source code is governed by a BSD-style license that can be 4 Use of this source code is governed by a BSD-style license that can be
5 found in the LICENSE file. 5 found in the LICENSE file.
6 --> 6 -->
7 7
8 <link rel="import" href="/perf_insights/mappers/task_info_map_function.html"> 8 <link rel="import" href="/perf_insights/mappers/task_info_map_function.html">
9 <link rel="import" href="/perf_insights/mre/mre_result.html"> 9 <link rel="import" href="/perf_insights/mre/mre_result.html">
10 <link rel="import" href="/tracing/base/iteration_helpers.html"> 10 <link rel="import" href="/tracing/base/iteration_helpers.html">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 result.pairs.cpu_time_spent_in_top_level_task); 70 result.pairs.cpu_time_spent_in_top_level_task);
71 assert.equal(tr.b.dictionaryLength( 71 assert.equal(tr.b.dictionaryLength(
72 cpu_time_spent_in_top_level_task['Browser']), 1); 72 cpu_time_spent_in_top_level_task['Browser']), 1);
73 histogram = tr.v.Numeric.fromDict( 73 histogram = tr.v.Numeric.fromDict(
74 cpu_time_spent_in_top_level_task['Browser']['CrBrowserMain']); 74 cpu_time_spent_in_top_level_task['Browser']['CrBrowserMain']);
75 assert.equal(histogram.getBinForValue(3.0).count, 1); 75 assert.equal(histogram.getBinForValue(3.0).count, 1);
76 }); 76 });
77 }); 77 });
78 78
79 </script> 79 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698