OLD | NEW |
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 Loading... |
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> |
OLD | NEW |