refactor(perf): move navigation into test files and rename runSimpleBenchmark
This commit is contained in:
@ -8,16 +8,15 @@ describe('ng1.x compiler benchmark', function () {
|
||||
afterEach(util.verifyNoErrors);
|
||||
|
||||
it('should log withBinding stats', function() {
|
||||
util.runSimpleBenchmark({
|
||||
url: URL,
|
||||
browser.get(URL);
|
||||
util.runClickBenchmark({
|
||||
buttons: ['#compileWithBindings'],
|
||||
name: browser.params.lang+'.ng1.compile.withBindings'
|
||||
});
|
||||
});
|
||||
|
||||
it('should log noBindings stats', function() {
|
||||
util.runSimpleBenchmark({
|
||||
url: URL,
|
||||
util.runClickBenchmark({
|
||||
buttons: ['#compileNoBindings'],
|
||||
name: browser.params.lang+'.ng1.compile.noBindings'
|
||||
});
|
||||
|
@ -8,8 +8,8 @@ describe('ng1.x tree benchmark', function () {
|
||||
afterEach(util.verifyNoErrors);
|
||||
|
||||
it('should log the stats', function() {
|
||||
util.runSimpleBenchmark({
|
||||
url: URL,
|
||||
browser.get(URL);
|
||||
util.runClickBenchmark({
|
||||
buttons: ['#destroyDom', '#createDom'],
|
||||
name: browser.params.lang+'.ng1.tree'
|
||||
});
|
||||
|
Reference in New Issue
Block a user