refactor(benchmark): simplify writing benchmarks
Adds `benchmarks/benchpress` module and adjusts the compiler benchmarks to use it. Also adds the Angular 1.3 benchmark to the compiler benchmarks. Closes #202
This commit is contained in:
@ -3,7 +3,7 @@ library angular.core.facade.dom;
|
||||
import 'dart:html';
|
||||
import 'dart:js' show JsObject;
|
||||
|
||||
export 'dart:html' show DocumentFragment, Node, Element, TemplateElement, Text;
|
||||
export 'dart:html' show DocumentFragment, Node, Element, TemplateElement, Text, document, location;
|
||||
|
||||
// TODO(tbosch): Is there a builtin one? Why is Dart
|
||||
// removing unknown elements by default?
|
||||
|
@ -4,6 +4,9 @@ export var NodeList = window.NodeList;
|
||||
export var Text = window.Text;
|
||||
export var Element = window.HTMLElement;
|
||||
export var TemplateElement = window.HTMLTemplateElement;
|
||||
export var document = window.document;
|
||||
export var location = window.location;
|
||||
|
||||
import {List, MapWrapper} from 'facade/collection';
|
||||
|
||||
export class DOM {
|
||||
|
Reference in New Issue
Block a user