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

Document --profile and --trace in the guide #2398

Merged
merged 1 commit into from
Jul 26, 2016
Merged

Document --profile and --trace in the guide #2398

merged 1 commit into from
Jul 26, 2016

Conversation

sjakobi
Copy link
Member

@sjakobi sjakobi commented Jul 21, 2016

Related: #2285, #2074, #877.
Closes #1759, #2128.

The following command installs with profiling enabled:
To profile a component of the current project, simply pass the `--profile`
flag to `stack`. The `--profile` flag turns on the `--enable-library-profiling`
and `--enable-executable-profiling` Cabal options _and_ passes the `+RTS -p`
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually it uses the new --enable-profiling flag for recent versions of Cabal, but I'm not sure it's worth mentioning here.

@sjakobi
Copy link
Member Author

sjakobi commented Jul 21, 2016

Please disregard the CI failures. These are due to missing bounds on http-client.

@mgsloan
Copy link
Contributor

mgsloan commented Jul 26, 2016

LGTM!

@mgsloan mgsloan merged commit 05abda2 into stable Jul 26, 2016
@borsboom borsboom deleted the profiling-docs branch August 1, 2016 22:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants