From 5f640c79bb1d7959174bba3c1130c450117ee1b1 Mon Sep 17 00:00:00 2001
From: Tobias Bosch
Date: Thu, 24 Sep 2015 14:51:19 -0700
Subject: [PATCH] refactor(compiler_benchmark): simplify by using bootstrap and
DI Closes #4356
---
modules/benchmarks/e2e_test/compiler_perf.ts | 2 +
.../src/compiler/compiler_benchmark.html | 4 +-
.../src/compiler/compiler_benchmark.ts | 170 +++++++++---------
3 files changed, 92 insertions(+), 84 deletions(-)
diff --git a/modules/benchmarks/e2e_test/compiler_perf.ts b/modules/benchmarks/e2e_test/compiler_perf.ts
index 61e642f720..052082c969 100644
--- a/modules/benchmarks/e2e_test/compiler_perf.ts
+++ b/modules/benchmarks/e2e_test/compiler_perf.ts
@@ -7,6 +7,7 @@ describe('ng2 compiler benchmark', function() {
afterEach(verifyNoBrowserErrors);
it('should log withBindings stats', function(done) {
+ browser.sleep(1000);
runBenchmark({
url: URL,
id: 'ng2.compile.withBindings',
@@ -19,6 +20,7 @@ describe('ng2 compiler benchmark', function() {
});
it('should log noBindings stats', function(done) {
+ browser.sleep(1000);
runBenchmark({
url: URL,
id: 'ng2.compile.noBindings',
diff --git a/modules/benchmarks/src/compiler/compiler_benchmark.html b/modules/benchmarks/src/compiler/compiler_benchmark.html
index 86a02dad62..26d00701eb 100644
--- a/modules/benchmarks/src/compiler/compiler_benchmark.html
+++ b/modules/benchmarks/src/compiler/compiler_benchmark.html
@@ -5,7 +5,7 @@
Params
@@ -15,6 +15,8 @@
+
+
$SCRIPTS$