Skip to content

Move large chart libs out of critical path - #4104

Open
williamjallen wants to merge 1 commit into
Kitware:masterfrom
williamjallen:lazy-load-legacy-chart-libs
Open

williamjallen wants to merge 1 commit into
Kitware:masterfrom
williamjallen:lazy-load-legacy-chart-libs

Conversation

@williamjallen

Copy link
Copy Markdown
Collaborator

Every AngularJS page currently loads d3 and nvd3, which blocks the main process and delays the API request. On my machine, this contributes about 20-30ms to every request when cached. Uncached requests are even slower.

This PR splits d3/nvd3 and jqplot into separate assets, and moves them out of the critical path.

Every AngularJS page currently loads `d3` and `nvd3`, which blocks the main process and delays the API request.  On my machine, this contributes about 20-30ms to every request when cached.  Uncached requests are even slower.

This PR splits `d3`/`nvd3` and `jqplot` into separate assets, and moves them out of the critical path.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant