eflambe icon indicating copy to clipboard operation
eflambe copied to clipboard

Document common usage patterns

Open Stratus3D opened this issue 3 years ago • 4 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 avatar Jan 28 '22 19:01 Stratus3D

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

Zabrane avatar Jan 28 '22 21:01 Zabrane

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.

Stratus3D avatar Jan 28 '22 21:01 Stratus3D

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

Stratus3D avatar Mar 04 '22 13:03 Stratus3D

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

TheFirstAvenger avatar Mar 17 '22 13:03 TheFirstAvenger

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!

Stratus3D avatar Oct 08 '22 01:10 Stratus3D