clj-async-profiler icon indicating copy to clipboard operation
clj-async-profiler copied to clipboard

Any possible support for metadata?

Open Folcon opened this issue 3 years ago • 1 comments

Hey, this is a great project thanks so much for making it =)...

I was just wondering if there's any way I could pass in a map of :metadata arguments to the profile which would then get written into the result? It would just make it much easier to pass in stuff like version numbers so when I'm looking back at historical profiles I can see for example what commit hash produced it, so when I'd doing comparisons I'm pretty sure what I'm looking at.

Does the underlying format have support for adding attributes like that? Or should I be looking to record this sort of stuff on my side? No problem if that's the case btw =)...

Folcon avatar Feb 13 '22 18:02 Folcon

Hello @Folcon! Would passing a custom :title string help? It will get written into the resulting HTML file, so that you can then distinguish the profiles by it.

alexander-yakushev avatar Jul 27 '22 18:07 alexander-yakushev