OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2015 The Chromium Authors. All rights reserved. | 3 Copyright 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/scheduling/map_input_blockers.ht
ml"> | 8 <link rel="import" href="/perf_insights/mappers/scheduling/map_input_blockers.ht
ml"> |
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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // The mapper computes the amount of delay each blocking event contributed | 60 // The mapper computes the amount of delay each blocking event contributed |
61 // to the input event. | 61 // to the input event. |
62 var inputBlockers = result.pairs.inputBlockers; | 62 var inputBlockers = result.pairs.inputBlockers; |
63 assert.deepEqual(inputBlockers.blockingEvent1, [5]); | 63 assert.deepEqual(inputBlockers.blockingEvent1, [5]); |
64 assert.deepEqual(inputBlockers.blockingEvent2, [4]); | 64 assert.deepEqual(inputBlockers.blockingEvent2, [4]); |
65 }); | 65 }); |
66 }); | 66 }); |
67 | 67 |
68 </script> | 68 </script> |
OLD | NEW |