
- use performance log of chromedriver / appium to get timeline data for calculating metrics for benchmarks - change all benchmarks to be made of a standalone application and a protractor test that collectes timeline data - fix and simplify benchmarks - add dart2js to build - remove benchpress Closes #330
27 lines
635 B
JavaScript
27 lines
635 B
JavaScript
"use strict";
|
|
var util = require('../../../../tools/perf/util.js');
|
|
|
|
describe('ng2 tree benchmark', function () {
|
|
|
|
var URL = 'benchmarks/web/tree/tree_benchmark.html';
|
|
|
|
afterEach(util.verifyNoErrors);
|
|
|
|
it('should log the ng stats', function() {
|
|
util.runSimpleBenchmark({
|
|
url: URL,
|
|
buttons: ['#ng2DestroyDom', '#ng2CreateDom'],
|
|
name: browser.params.lang+'.ng2.tree'
|
|
});
|
|
});
|
|
|
|
it('should log the baseline stats', function() {
|
|
util.runSimpleBenchmark({
|
|
url: URL,
|
|
buttons: ['#baselineDestroyDom', '#baselineCreateDom'],
|
|
name: browser.params.lang+'.baseline.tree'
|
|
});
|
|
});
|
|
|
|
});
|