OLD | NEW |
1 define(['dart_sdk'], function(dart_sdk) { | 1 define(['dart_sdk'], function(dart_sdk) { |
2 'use strict'; | 2 'use strict'; |
3 const core = dart_sdk.core; | 3 const core = dart_sdk.core; |
4 const dart = dart_sdk.dart; | 4 const dart = dart_sdk.dart; |
5 const dartx = dart_sdk.dartx; | 5 const dartx = dart_sdk.dartx; |
6 const BenchmarkBase$ = Object.create(null); | 6 const BenchmarkBase$ = Object.create(null); |
7 let VoidToNull = () => (VoidToNull = dart.constFn(dart.definiteFunctionType(co
re.Null, [])))(); | 7 let VoidToNull = () => (VoidToNull = dart.constFn(dart.definiteFunctionType(co
re.Null, [])))(); |
8 BenchmarkBase$.Expect = class Expect extends core.Object { | 8 BenchmarkBase$.Expect = class Expect extends core.Object { |
9 static equals(expected, actual) { | 9 static equals(expected, actual) { |
10 if (!dart.equals(expected, actual)) { | 10 if (!dart.equals(expected, actual)) { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 warmup: dart.definiteFunctionType(dart.void, []), | 82 warmup: dart.definiteFunctionType(dart.void, []), |
83 exercise: dart.definiteFunctionType(dart.void, []), | 83 exercise: dart.definiteFunctionType(dart.void, []), |
84 setup: dart.definiteFunctionType(dart.void, []), | 84 setup: dart.definiteFunctionType(dart.void, []), |
85 teardown: dart.definiteFunctionType(dart.void, []), | 85 teardown: dart.definiteFunctionType(dart.void, []), |
86 measure: dart.definiteFunctionType(core.double, []), | 86 measure: dart.definiteFunctionType(core.double, []), |
87 report: dart.definiteFunctionType(dart.void, []) | 87 report: dart.definiteFunctionType(dart.void, []) |
88 }), | 88 }), |
89 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu
nction, core.int])}), | 89 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu
nction, core.int])}), |
90 names: ['measureFor'] | 90 names: ['measureFor'] |
91 }); | 91 }); |
| 92 dart.trackLibraries("BenchmarkBase", {"BenchmarkBase.dart": BenchmarkBase$}); |
92 // Exports: | 93 // Exports: |
93 return { | 94 return { |
94 BenchmarkBase: BenchmarkBase$ | 95 BenchmarkBase: BenchmarkBase$ |
95 }; | 96 }; |
96 }); | 97 }); |
OLD | NEW |