| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 import 'dart:io'; | 5 import 'dart:io'; |
| 6 import 'dart:convert'; | 6 import 'dart:convert'; |
| 7 | 7 |
| 8 final _combinations = { | 8 final _combinations = { |
| 9 'linux': [ | 9 'linux': [ |
| 10 { | 10 { |
| 11 'runtimes': ['none'], | 11 'runtimes': ['none'], |
| 12 'modes': ['release'], | 12 'modes': ['release'], |
| 13 'archs': ['x64'], | 13 'archs': ['x64'], |
| 14 'compiler': 'dart2analyzer' | 14 'compiler': 'dart2analyzer' |
| 15 }, | 15 }, |
| 16 { | 16 { |
| 17 'runtimes': ['vm'], | 17 'runtimes': ['vm'], |
| 18 'modes': ['debug', 'release'], | 18 'modes': ['debug', 'release'], |
| 19 'archs': ['ia32', 'x64', 'simarm', 'simmips'], | 19 'archs': ['ia32', 'x64', 'simarm'], |
| 20 'compiler': 'none' | 20 'compiler': 'none' |
| 21 }, | 21 }, |
| 22 { | 22 { |
| 23 'runtimes': ['d8', 'jsshell', 'chrome', 'ff'], | 23 'runtimes': ['d8', 'jsshell', 'chrome', 'ff'], |
| 24 'modes': ['release'], | 24 'modes': ['release'], |
| 25 'archs': ['ia32'], | 25 'archs': ['ia32'], |
| 26 'compiler': 'dart2js' | 26 'compiler': 'dart2js' |
| 27 }, | 27 }, |
| 28 { | 28 { |
| 29 'runtimes': ['dartium'], | 29 'runtimes': ['dartium'], |
| (...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 var pct = 100 * (value / total); | 207 var pct = 100 * (value / total); |
| 208 values.add('${pct.toStringAsFixed(3)}%'); | 208 values.add('${pct.toStringAsFixed(3)}%'); |
| 209 } | 209 } |
| 210 | 210 |
| 211 print(values.join(',')); | 211 print(values.join(',')); |
| 212 } | 212 } |
| 213 } | 213 } |
| 214 } | 214 } |
| 215 } | 215 } |
| 216 } | 216 } |
| OLD | NEW |