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

Side by Side Diff: third_party/pkg/angular/perf/lexer_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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 library lexer_perf;
2
3 import '_perf.dart';
4 import 'package:angular/core/parser/lexer.dart';
5
6 main() {
7 Lexer lexer = new Lexer();
8 time('ident', () =>
9 lexer.call('ctrl foo baz ctrl.foo ctrl.bar ctrl.baz'));
10 time('ident-path', () =>
11 lexer.call('a.b a.b.c a.b.c.d a.b.c.d.e.f'));
12 time('num', () =>
13 lexer.call('1 23 34 456 12341234 12351235'));
14 time('num-double', () =>
15 lexer.call('.0 .1 .12 0.123 0.1234'));
16 time('string', () =>
17 lexer.call("'quick brown dog and fox say what'"));
18 time('string-escapes', () =>
19 lexer.call("quick '\\' brown \u1234 dog and fox\n\rsay what'"));
20 }
OLDNEW
« no previous file with comments | « third_party/pkg/angular/perf/invoke_perf.dart ('k') | third_party/pkg/angular/perf/loop_perf.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698