feat(bench press): use chrome tracing protocol and initial iOS support

This commit is contained in:
Tobias Bosch
2015-02-18 14:39:52 -08:00
parent 8a3d9050d9
commit 7aa031b3d3
14 changed files with 733 additions and 332 deletions

View File

@ -138,6 +138,9 @@ class ListWrapper {
static List slice(List l, int from, int to) {
return l.sublist(from, to);
}
static void sort(List l, compareFn(a,b)) {
l.sort(compareFn);
}
}
bool isListLikeIterable(obj) => obj is Iterable;

View File

@ -185,6 +185,10 @@ export class ListWrapper {
static slice(l:List, from:int, to:int):List {
return l.slice(from, to);
}
static sort(l:List, compareFn:Function) {
l.sort(compareFn);
return l;
}
}
export function isListLikeIterable(obj):boolean {