Profiling plugins

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Profiling plugins

M Farkas-Dyck-2
How is this done? I am working on ConCat
[https://github.com/conal/concat] and we need a profile of the plugin
itself. I tried "stack test --profile" but that does a profile of the
test program, not the plugin. Can i do this and not rebuild GHC?
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users
Reply | Threaded
Open this post in threaded view
|

Re: Profiling plugins

Edward Z. Yang
Hello M,

Unfortunately, if you want detailed profiling, you will have to rebuild
GHC with profiling.  Note that you can basic heap profile information
without rebuilding GHC.

Edward

Excerpts from M Farkas-Dyck's message of 2017-06-06 12:34:57 -0800:
> How is this done? I am working on ConCat
> [https://github.com/conal/concat] and we need a profile of the plugin
> itself. I tried "stack test --profile" but that does a profile of the
> test program, not the plugin. Can i do this and not rebuild GHC?
_______________________________________________
Glasgow-haskell-users mailing list
[hidden email]
http://mail.haskell.org/cgi-bin/mailman/listinfo/glasgow-haskell-users