topolarity / Tracy.jl

A convenient interface for using Tracy from within Julia code
MIT License
29 stars 3 forks source link

WIP: allow setting metadata on zones #19

Closed KristofferC closed 1 year ago

KristofferC commented 1 year ago

This will take some iterations and feedback to get right I think @topolarity.

First, the code in the test produces:

gnome-shell-screenshot-8e16j5

Some remarks:

TODO:

KristofferC commented 1 year ago

Thinking about https://github.com/topolarity/Tracy.jl/pull/19#discussion_r1199167779 I think this PR is misdesigned. Even for things like color or name which you can only set once for a zone, you might still want to set it based on some condition inside the zone. So none of these should probably go on the macro.