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/trace_import_cost.html"> | 8 <link rel="import" href="/perf_insights/mappers/trace_import_cost.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/core/test_utils.html"> | 10 <link rel="import" href="/tracing/core/test_utils.html"> |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 assert.equal(subSlice_2_1.duration, 2); | 102 assert.equal(subSlice_2_1.duration, 2); |
103 | 103 |
104 var slice2 = trace_import_cost_info.slices[1]; | 104 var slice2 = trace_import_cost_info.slices[1]; |
105 assert.equal(slice2.subSlices.length, 0); | 105 assert.equal(slice2.subSlices.length, 0); |
106 assert.equal(slice2.title, 's2'); | 106 assert.equal(slice2.title, 's2'); |
107 assert.equal(slice2.start, 21); | 107 assert.equal(slice2.start, 21); |
108 assert.equal(slice2.duration, 6); | 108 assert.equal(slice2.duration, 6); |
109 }); | 109 }); |
110 }); | 110 }); |
111 </script> | 111 </script> |
OLD | NEW |