feat(bench press): replace microIterations with microMetrics
This commit is contained in:
@ -11,7 +11,12 @@ describe('ng2 element injector benchmark', function () {
|
||||
url: URL,
|
||||
buttons: ['#instantiate'],
|
||||
id: 'ng2.elementInjector.instantiate',
|
||||
microIterations: 20000
|
||||
params: [{
|
||||
name: 'iterations', value: 20000, scale: 'linear'
|
||||
}],
|
||||
microMetrics: {
|
||||
'instantiateAvg': 'avg time for injection (in ms)'
|
||||
}
|
||||
}).then(done, done.fail);
|
||||
});
|
||||
|
||||
@ -20,7 +25,12 @@ describe('ng2 element injector benchmark', function () {
|
||||
url: URL,
|
||||
buttons: ['#instantiateDirectives'],
|
||||
id: 'ng2.elementInjector.instantiateDirectives',
|
||||
microIterations: 20000
|
||||
params: [{
|
||||
name: 'iterations', value: 20000, scale: 'linear'
|
||||
}],
|
||||
microMetrics: {
|
||||
'instantiateAvg': 'avg time for injection (in ms)'
|
||||
}
|
||||
}).then(done, done.fail);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user