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

Adding eventlog trace functions for profiling. #3

Open
rohit507 opened this issue Jun 26, 2019 · 1 comment
Open

Adding eventlog trace functions for profiling. #3

rohit507 opened this issue Jun 26, 2019 · 1 comment

Comments

@rohit507
Copy link

First, thanks for writing this, it's quickly become my favorite custom Prelude.

I was wondering if you could add traceEvent, traceEventIO, traceMarker, and traceMarkerIO from Debug.Trace to Intro. You're already exporting a number of other functions from that module, and heap profiling seems like a natural extension.

Possibly with links to https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/profiling.html and/or https://mpickering.github.io/eventlog2html/ in the haddocks so people can see how to use them.

@minad
Copy link
Owner

minad commented Nov 26, 2019

Yes, They could be added. PR welcome - otherwise I can add them when I prepare the next release.

The question is only how often these functions are used. I am using traceShow and friends very often during some quick debugging a, but only rarely I look at the event log.

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