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 List<Map> LINUX_COMBINATIONS = [ | 8 List<Map> LINUX_COMBINATIONS = [ |
9 { | 9 { |
10 'runtimes' : ['none'], | 10 'runtimes' : ['none'], |
11 'modes' : ['release'], | 11 'modes' : ['release'], |
12 'archs' : ['ia32'], | 12 'archs' : ['ia32'], |
13 'compiler' : 'dartanalyzer' | 13 'compiler' : 'dartanalyzer' |
14 }, | 14 }, |
15 { | 15 { |
16 'runtimes' : ['vm'], | 16 'runtimes' : ['vm'], |
17 'modes' : ['debug', 'release'], | 17 'modes' : ['debug', 'release'], |
18 'archs' : ['ia32', 'x64', 'simarm', 'simmips'], | 18 'archs' : ['ia32', 'x64', 'simarm', 'simmips'], |
19 'compiler' : 'none' | 19 'compiler' : 'none' |
20 }, | 20 }, |
21 { | 21 { |
22 'runtimes' : ['vm'], | |
23 'modes' : ['release'], | |
24 'archs' : ['ia32', 'x64'], | |
25 'compiler' : 'dart2dart' | |
26 }, | |
27 { | |
28 'runtimes' : ['d8', 'jsshell', 'chrome', 'ff'], | 22 'runtimes' : ['d8', 'jsshell', 'chrome', 'ff'], |
29 'modes' : ['release'], | 23 'modes' : ['release'], |
30 'archs' : ['ia32'], | 24 'archs' : ['ia32'], |
31 'compiler' : 'dart2js' | 25 'compiler' : 'dart2js' |
32 }, | 26 }, |
33 { | 27 { |
34 'runtimes' : ['dartium'], | 28 'runtimes' : ['dartium'], |
35 'modes' : ['release', 'debug'], | 29 'modes' : ['release', 'debug'], |
36 'archs' : ['ia32'], | 30 'archs' : ['ia32'], |
37 'compiler' : 'none' | 31 'compiler' : 'none' |
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 var pct = 100*(value/total); | 205 var pct = 100*(value/total); |
212 values.add('${pct.toStringAsFixed(3)}%'); | 206 values.add('${pct.toStringAsFixed(3)}%'); |
213 } | 207 } |
214 | 208 |
215 print(values.join(',')); | 209 print(values.join(',')); |
216 } | 210 } |
217 } | 211 } |
218 } | 212 } |
219 } | 213 } |
220 } | 214 } |
OLD | NEW |