Closed
Bug 1159375
Opened 10 years ago
Closed 10 years ago
Disable Angular's debug info for improved performance
Categories
(Tree Management :: Treeherder, defect, P2)
Tree Management
Treeherder
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: emorley, Assigned: emorley)
References
(Blocks 1 open bug)
Details
(Keywords: perf)
Attachments
(1 file)
Assignee | ||
Comment 1•10 years ago
|
||
Comment 2•10 years ago
|
||
Comment on attachment 8613313 [details] [review]
Disable Angular's debug data
Looks fine, I wonder what kind of performance impact this would have, if any. I don't think our bottlenecks are really in angular, for the most part.
You might want to update the logviewer (logviewer.js) to use this as well.
Attachment #8613313 -
Flags: review?(wlachance) → review+
Comment 3•10 years ago
|
||
Commit pushed to master at https://github.com/mozilla/treeherder
https://github.com/mozilla/treeherder/commit/5966bbc5602773c75c6324b0d6500616338bbf89
Bug 1159375 - Disable Angular's debug data to improve perf
As recommended by:
https://docs.angularjs.org/guide/production
http://blog.thoughtram.io/angularjs/2014/12/22/exploring-angular-1.3-disabling-debug-info.html
The debug data can be repopulated on the fly using:
angular.reloadWithDebugInfo();
...from the console.
Assignee | ||
Comment 4•10 years ago
|
||
(In reply to William Lachance (:wlach) from comment #2)
> You might want to update the logviewer (logviewer.js) to use this as well.
Ah indeed; done :-)
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•