Angular performance tuning - Disabling Debug Data

Registered by Shaoquan Chen on 2015-11-18

Summary
=======
It is suggested by Angular official web site to disable debugging data in production for get better performance:
https://docs.angularjs.org/guide/production#disabling-debug-data

This is prioritized as CRITICAL for Horizon Mitaka release:
https://etherpad.openstack.org/p/mitaka-horizon-priorities

Motivation
========
Better performance in production for angular UI components in Horizon.

Description
=========
By default AngularJS attaches information about binding and scopes to DOM nodes, and adds CSS classes to data-bound elements. This helps debugging tools but cause performance issue in production.

UX
==
N/A

Blueprint information

Status:
Started
Approver:
Rob Cresswell
Priority:
Low
Drafter:
Shaoquan Chen
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for future
Implementation:
Needs Code Review
Milestone target:
milestone icon next
Started by
Shaoquan Chen on 2015-11-18

Related branches

Sprints

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.