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/trace_stats.html"> | 8 <link rel="import" href="/perf_insights/mappers/trace_stats.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 23 matching lines...) Expand all Loading... |
34 var dict = result.pairs.stats; | 34 var dict = result.pairs.stats; |
35 assert.equal(dict.totalEvents, 1); | 35 assert.equal(dict.totalEvents, 1); |
36 assert.equal(dict.firstTimeInMS, 0); | 36 assert.equal(dict.firstTimeInMS, 0); |
37 assert.equal(dict.lastTimeInMS, 10); | 37 assert.equal(dict.lastTimeInMS, 10); |
38 assert.equal(dict.durationInMS, 10); | 38 assert.equal(dict.durationInMS, 10); |
39 assert.equal(dict.eventsPerSecond, 100); | 39 assert.equal(dict.eventsPerSecond, 100); |
40 }); | 40 }); |
41 }); | 41 }); |
42 | 42 |
43 </script> | 43 </script> |
OLD | NEW |