chore(dev-feature): add support to profile the CLI. #3961

Merged
merged 1 commit into from Jan 12, 2017

Projects

None yet

3 participants

@hansl
Collaborator
hansl commented Jan 12, 2017

This requires that one "npm install v8-profiler" where the CLI lives (not going to add it as a dev dependency), and run with something like "NG_CLI_PROFILING=serve ng serve". This will create a "serve.cpuprofile" that can be opened in Chrome.

@hansl hansl chore(dev-feature): add support to profile the CLI.
This requires that one "npm install v8-profiler" where the CLI lives (not going to add it as a dev dependency), and run with something like "NG_CLI_PROFILING=serve ng serve". This will create a "serve.cpuprofile" that can be opened in Chrome.
9e57df4
@googlebot googlebot added the cla: yes label Jan 12, 2017
@hansl hansl referenced this pull request Jan 12, 2017
Open

Rebuild extremely slow #1980

@hansl hansl merged commit 224250c into angular:master Jan 12, 2017

3 checks passed

cla/google All necessary CLAs are signed
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
@hansl hansl deleted the hansl:cpuprofiling branch Jan 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment