OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <!-- | 2 <!-- |
3 Copyright 2016 The Chromium Authors. All rights reserved. | 3 Copyright 2016 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="/tracing/base/iteration_helpers.html"> | |
9 <link rel="import" href="/tracing/base/math/statistics.html"> | 8 <link rel="import" href="/tracing/base/math/statistics.html"> |
| 9 <link rel="import" href="/tracing/base/utils.html"> |
10 <link rel="import" href="/tracing/base/xhr.html"> | 10 <link rel="import" href="/tracing/base/xhr.html"> |
11 | 11 |
12 <script> | 12 <script> |
13 'use strict'; | 13 'use strict'; |
14 /* eslint-disable no-console */ | 14 /* eslint-disable no-console */ |
15 | 15 |
16 const escapeChars = s => s.replace(/[\:|=\/#&,]/g, '_'); | 16 const escapeChars = s => s.replace(/[\:|=\/#&,]/g, '_'); |
17 | 17 |
18 function findUnescapedKey(escaped, d) { | 18 function findUnescapedKey(escaped, d) { |
19 if (!d) { | 19 if (!d) { |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
216 | 216 |
217 }; | 217 }; |
218 | 218 |
219 if (tr.isHeadless) { | 219 if (tr.isHeadless) { |
220 const [method, ...rest] = sys.argv.slice(1); | 220 const [method, ...rest] = sys.argv.slice(1); |
221 if (SampleComparison[method]) { | 221 if (SampleComparison[method]) { |
222 console.log(JSON.stringify(SampleComparison[method](...rest))); | 222 console.log(JSON.stringify(SampleComparison[method](...rest))); |
223 } | 223 } |
224 } | 224 } |
225 </script> | 225 </script> |
OLD | NEW |