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
@@ -12,7 +12,7 @@ describe('ng1.x compiler benchmark', function () {
buttons: ['#compileWithBindings'],
id: 'ng1.compile.withBindings',
params: [{
name: 'elementCount', value: 150
name: 'elementCount', value: 150, scale: 'linear'
}]
});
});
@@ -23,7 +23,7 @@ describe('ng1.x compiler benchmark', function () {
buttons: ['#compileNoBindings'],
id: 'ng1.compile.noBindings',
params: [{
name: 'elementCount', value: 150
name: 'elementCount', value: 150, scale: 'linear'
}]
});
});
@@ -24,10 +24,12 @@ describe('ng1.x largetable benchmark', function () {
id: 'ng1.largetable.' + benchmarkType,
params: [{
name: 'columns',
value: 100
value: 100,
scale: 'sqrt'
},{
name: 'rows',
value: 20
value: 20,
scale: 'sqrt'
},{
name: 'benchmarkType',
value: benchmarkType
@@ -12,7 +12,7 @@ describe('ng1.x tree benchmark', function () {
buttons: ['#destroyDom', '#createDom'],
id: 'ng1.tree',
params: [{
name: 'depth', value: 9
name: 'depth', value: 9, scale: 'log2'
}]
});
});