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 change detection benchmark', function () {
buttons: ['#ng2DetectChanges'],
id: 'ng2.changeDetection',
params: [{
name: 'iterations', value: 500000
name: 'iterations', value: 500000, scale: 'linear'
}]
});
});
@ -23,7 +23,7 @@ describe('ng2 change detection benchmark', function () {
buttons: ['#baselineDetectChanges'],
id: 'baseline.changeDetection',
params: [{
name: 'iterations', value: 500000
name: 'iterations', value: 500000, scale: 'linear'
}]
});
});