aclysma / profiling

Provides a very thin abstraction over instrumented profiling crates like puffin, optick, tracy, and superluminal-perf.
Apache License 2.0
320 stars 39 forks source link

Directly construct tracy spans for reduced overhead #4

Closed Imberflur closed 3 years ago

Imberflur commented 3 years ago

Implements #2

aclysma commented 3 years ago

Looks great! I assume this disables gathering stacks when capturing Tracy scopes? That seems prudent, I remember when using Tracy it would take minutes to catch up to real-time and I was wondering if it was stack resolution that was burning so much time. I want to give it another look tomorrow morning. We should probably update the readme with the new feature.

aclysma commented 3 years ago

Does this look good to you? BTW, sorry for pushing to your branch, my git client defaulted to yours even after I had already pushed to my own!

I tried using it in a more realistic project, it's a great change! Thanks!

Imberflur commented 3 years ago

Looks good to me!