Stratus3D/eflambe

Document common usage patterns

Closed this issue · 5 comments

It occurred to me today that a set of usage patterns or a "cookbook" for eflambe might be useful.

For example, today I wanted to profile a whole Phoenix pipeline. This did the trick:

:eflambe.capture({Phoenix.Endpoint.Cowboy2Handler, :init, 2}, 1, [open: :speedscope])

@Stratus3D can't agree more on the {{Cookbook}} usefulness. I will certainly contribute some real examples.

Awesome! Thanks. Feel free to use this issue document them as you come across them. I'll eventually extract them out into a document somewhere.

@TheFirstAvenger and anyone else, I'd love to get document some of the common patterns you use with eflambe!

@Stratus3D We use :cowboy_hander.execute/2 in Flame On

Closing for now as this isn't something I'm planning on documenting right now. I still welcome comments documenting common usage patterns if anyone who comes across this has something more to share!