Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(414)

Side by Side Diff: test/codegen/expect/DeltaBlue.js

Issue 1182653002: Refactor runtime into libraries, better type reps (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Address comments 2 Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 dart.library('DeltaBlue', null, /* Imports */[ 1 dart_library.library('DeltaBlue', null, /* Imports */[
2 "dart_runtime/dart",
2 'BenchmarkBase', 3 'BenchmarkBase',
3 'dart/core' 4 'dart/core'
4 ], /* Lazy imports */[ 5 ], /* Lazy imports */[
5 ], function(exports, BenchmarkBase, core) { 6 ], function(exports, dart, BenchmarkBase, core) {
6 'use strict'; 7 'use strict';
8 let dartx = dart.dartx;
7 function main() { 9 function main() {
8 new DeltaBlue().report(); 10 new DeltaBlue().report();
9 } 11 }
10 dart.fn(main); 12 dart.fn(main);
11 class DeltaBlue extends BenchmarkBase.BenchmarkBase { 13 class DeltaBlue extends BenchmarkBase.BenchmarkBase {
12 DeltaBlue() { 14 DeltaBlue() {
13 super.BenchmarkBase("DeltaBlue"); 15 super.BenchmarkBase("DeltaBlue");
14 } 16 }
15 run() { 17 run() {
16 chainTest(100); 18 chainTest(100);
(...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after
557 exports.BinaryConstraint = BinaryConstraint; 559 exports.BinaryConstraint = BinaryConstraint;
558 exports.ScaleConstraint = ScaleConstraint; 560 exports.ScaleConstraint = ScaleConstraint;
559 exports.EqualityConstraint = EqualityConstraint; 561 exports.EqualityConstraint = EqualityConstraint;
560 exports.Variable = Variable; 562 exports.Variable = Variable;
561 exports.Planner = Planner; 563 exports.Planner = Planner;
562 exports.Plan = Plan; 564 exports.Plan = Plan;
563 exports.chainTest = chainTest; 565 exports.chainTest = chainTest;
564 exports.projectionTest = projectionTest; 566 exports.projectionTest = projectionTest;
565 exports.change = change; 567 exports.change = change;
566 }); 568 });
OLDNEW
« no previous file with comments | « test/codegen/expect/BenchmarkBase.js ('k') | test/codegen/expect/cascade.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698