Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf(ivy): set ngDevMode to false in render3 benchmarks #21502

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions modules/benchmarks/src/largetable/render3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ <h2>Render3 Largetable Benchmark</h2>
</div>

<script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>');
Expand Down
2 changes: 2 additions & 0 deletions modules/benchmarks/src/tree/render3/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ <h2>Render3 Tree Benchmark</h2>
</div>

<script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>');
Expand Down
2 changes: 2 additions & 0 deletions modules/benchmarks/src/tree/render3_function/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ <h2>Render3 Tree Benchmark with functions</h2>
</div>

<script>
// TODO(mlaval): remove once we have a proper solution
ngDevMode = false;
var mainUrl = window.location.search.split(/[?&]main=([^&]+)/)[1]
|| '../../bootstrap_ng2.js';
document.write('<script src="' + mainUrl + '">\u003c/script>');
Expand Down