feat(perf): autoscale benchmarks depending on the browser.

This commit is contained in:
Tobias Bosch
2015-01-15 15:14:54 -08:00
parent 561ad3a68c
commit 5c064c19e2
11 changed files with 70 additions and 34 deletions

View File

@ -12,7 +12,7 @@ describe('ng2 element injector benchmark', function () {
buttons: ['#instantiate'],
id: 'ng2.elementInjector.instantiate',
params: [{
name: 'iterations', value: 20000
name: 'iterations', value: 20000, scale: 'linear'
}]
});
});
@ -23,7 +23,7 @@ describe('ng2 element injector benchmark', function () {
buttons: ['#instantiateDirectives'],
id: 'ng2.elementInjector.instantiateDirectives',
params: [{
name: 'iterations', value: 20000
name: 'iterations', value: 20000, scale: 'linear'
}]
});
});