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

How to do a profiling build? #254

Open
kozross opened this issue Jan 23, 2022 · 2 comments
Open

How to do a profiling build? #254

kozross opened this issue Jan 23, 2022 · 2 comments

Comments

@kozross
Copy link
Contributor

kozross commented Jan 23, 2022

I'm not very familiar with Nix, and thus am not sure what I'd need to do to allow me to profile the code in here. This is related to work stemming from this PR, and ultimately seeking to address one of the issues described here.

@kozross
Copy link
Contributor Author

kozross commented Jan 24, 2022

@michaelpj - do you happen to know the answer to this?

@michaelpj
Copy link
Contributor

Looks like there's a config argument to shell.nix which gets passed down to here: https://github.com/input-output-hk/cardano-base/blob/master/nix/haskell.nix#L12. Then you should be able to build in there with profiling: true in cabal.project.local.

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

No branches or pull requests

2 participants