parent
5ca7c2d40f
commit
5efe9be051
|
@ -25,9 +25,12 @@ describe('ng2 static tree benchmark', function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should log the ng stats (update)', async() => {
|
it('should log the ng stats (update)', async() => {
|
||||||
runClickBenchmark(
|
runClickBenchmark({
|
||||||
{url: URL, buttons: ['#ng2CreateDom'], id: 'ng2.static.tree.update', params: []})
|
url: URL,
|
||||||
;
|
buttons: ['#ng2CreateDom'],
|
||||||
|
id: 'ng2.static.tree.update',
|
||||||
|
params: [],
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should log the baseline stats', async() => {
|
it('should log the baseline stats', async() => {
|
||||||
|
@ -41,8 +44,7 @@ describe('ng2 static tree benchmark', function() {
|
||||||
|
|
||||||
it('should log the baseline stats (update)', async() => {
|
it('should log the baseline stats (update)', async() => {
|
||||||
runClickBenchmark(
|
runClickBenchmark(
|
||||||
{url: URL, buttons: ['#baselineCreateDom'], id: 'baseline.static.tree.update', params: []})
|
{url: URL, buttons: ['#baselineCreateDom'], id: 'baseline.static.tree.update', params: []});
|
||||||
;
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
|
@ -41,6 +41,9 @@ describe('tree benchmark perf', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should work for update', async() => {
|
it('should work for update', async() => {
|
||||||
runTreeBenchmark({id: 'update', work: () => $('#createDom').click()});
|
runTreeBenchmark({
|
||||||
|
id: 'update',
|
||||||
|
work: () => $('#createDom').click(),
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue