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

Unified Diff: third_party/pkg/angular/perf/invoke_perf.dart

Issue 1058283006: Update pubspecs and dependencies to get pkgbuild tests working. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 5 years, 8 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/pkg/angular/perf/dom/compile_perf.dart ('k') | third_party/pkg/angular/perf/lexer_perf.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/pkg/angular/perf/invoke_perf.dart
diff --git a/third_party/pkg/angular/perf/invoke_perf.dart b/third_party/pkg/angular/perf/invoke_perf.dart
deleted file mode 100644
index 09c45fd466ecd82fd3be1b1ee40b015ec938df25..0000000000000000000000000000000000000000
--- a/third_party/pkg/angular/perf/invoke_perf.dart
+++ /dev/null
@@ -1,31 +0,0 @@
-library angular.perf.invoke;
-
-import '_perf.dart';
-import 'dart:async';
-
-main() {
- var handleDirect = (a, b, c) => a;
- var wrap = new Wrap();
- var handleDirectNamed = ({a, b, c}) => a;
- var handleIndirect = (e) => e.a;
- var streamC = new StreamController(sync:true);
- var stream = streamC.stream..listen(handleIndirect);
-
- time('direct', () => handleDirect(1, 2, 3) );
- time('.call', () => wrap(1, 2, 3) );
- time('directNamed', () => handleDirectNamed(a:1, b:2, c:3) );
- time('indirect', () => handleIndirect(new Container(1, 2, 3)) );
- time('stream', () => streamC.add(new Container(1, 2, 3)));
-}
-
-class Container {
- var a;
- var b;
- var c;
-
- Container(this.a, this.b, this.c);
-}
-
-class Wrap {
- call(a, b, c) => a + b + c;
-}
« no previous file with comments | « third_party/pkg/angular/perf/dom/compile_perf.dart ('k') | third_party/pkg/angular/perf/lexer_perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698