feat(benchpress): rewritten implementation

Limitations:
- cloud reporter is not yet supported any more
This commit is contained in:
Tobias Bosch
2015-02-11 10:13:49 -08:00
parent 44845839a6
commit f6284f2a55
78 changed files with 2666 additions and 1018 deletions

View File

@ -6,7 +6,7 @@ describe('ng2 element injector benchmark', function () {
afterEach(perfUtil.verifyNoBrowserErrors);
it('should log the stats for instantiate', function() {
it('should log the stats for instantiate', function(done) {
perfUtil.runClickBenchmark({
url: URL,
buttons: ['#instantiate'],
@ -14,10 +14,10 @@ describe('ng2 element injector benchmark', function () {
params: [{
name: 'iterations', value: 20000, scale: 'linear'
}]
});
}).then(done, done.fail);
});
it('should log the stats for instantiateDirectives', function() {
it('should log the stats for instantiateDirectives', function(done) {
perfUtil.runClickBenchmark({
url: URL,
buttons: ['#instantiateDirectives'],
@ -25,7 +25,7 @@ describe('ng2 element injector benchmark', function () {
params: [{
name: 'iterations', value: 20000, scale: 'linear'
}]
});
}).then(done, done.fail);
});
});