feat(perf): autoscale benchmarks depending on the browser.
This commit is contained in:
@@ -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'
|
||||
}]
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user