| OLD | NEW |
| 1 dart_library.library('BenchmarkBase', null, /* Imports */[ | 1 define(['dart_sdk'], function(dart_sdk) { |
| 2 'dart_sdk' | |
| 3 ], function load__BenchmarkBase(exports, dart_sdk) { | |
| 4 'use strict'; | 2 'use strict'; |
| 5 const core = dart_sdk.core; | 3 const core = dart_sdk.core; |
| 6 const dart = dart_sdk.dart; | 4 const dart = dart_sdk.dart; |
| 7 const dartx = dart_sdk.dartx; | 5 const dartx = dart_sdk.dartx; |
| 8 const BenchmarkBase$ = Object.create(null); | 6 const BenchmarkBase$ = Object.create(null); |
| 9 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); | 7 let VoidTodynamic = () => (VoidTodynamic = dart.constFn(dart.definiteFunctionT
ype(dart.dynamic, [])))(); |
| 10 BenchmarkBase$.Expect = class Expect extends core.Object { | 8 BenchmarkBase$.Expect = class Expect extends core.Object { |
| 11 static equals(expected, actual) { | 9 static equals(expected, actual) { |
| 12 if (!dart.equals(expected, actual)) { | 10 if (!dart.equals(expected, actual)) { |
| 13 dart.throw(dart.str`Values not equal: ${expected} vs ${actual}`); | 11 dart.throw(dart.str`Values not equal: ${expected} vs ${actual}`); |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 85 exercise: dart.definiteFunctionType(dart.void, []), | 83 exercise: dart.definiteFunctionType(dart.void, []), |
| 86 setup: dart.definiteFunctionType(dart.void, []), | 84 setup: dart.definiteFunctionType(dart.void, []), |
| 87 teardown: dart.definiteFunctionType(dart.void, []), | 85 teardown: dart.definiteFunctionType(dart.void, []), |
| 88 measure: dart.definiteFunctionType(core.double, []), | 86 measure: dart.definiteFunctionType(core.double, []), |
| 89 report: dart.definiteFunctionType(dart.void, []) | 87 report: dart.definiteFunctionType(dart.void, []) |
| 90 }), | 88 }), |
| 91 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu
nction, core.int])}), | 89 statics: () => ({measureFor: dart.definiteFunctionType(core.double, [core.Fu
nction, core.int])}), |
| 92 names: ['measureFor'] | 90 names: ['measureFor'] |
| 93 }); | 91 }); |
| 94 // Exports: | 92 // Exports: |
| 95 exports.BenchmarkBase = BenchmarkBase$; | 93 return { |
| 94 BenchmarkBase: BenchmarkBase$ |
| 95 }; |
| 96 }); | 96 }); |
| OLD | NEW |