pfirsich / jprof

Profiling library/tool for löve
MIT License
89 stars 6 forks source link

Zooming (graph) #5

Open pfirsich opened 6 years ago

pfirsich commented 6 years ago

Left click on a zone to make it the new root zone in the flame graph (zone zoom). Rightclick to unzoom.

Zoom in the graph at the bottom with mousewheel, move with middle click.

pfirsich commented 6 years ago

When zooming in on a zone, make the graphs at the bottom only display the time taken in that zone for every frame. That zone should be identified by it's parent zones and the position in the list of all zones with the same name in that parent zone. If a zone with that identifier is not present in a frame, just graph a blank space then.

pfirsich commented 6 years ago

Zooming in on zones was added in the liveupdates branch and has now been merged to master: https://github.com/pfirsich/jprof/commit/837f89309e38cae192760637c5643fec88a518e1

Zooming in on the graph at the bottom remains to be implemented. The issue will be renamed.