CC: Tweaked

CC: Tweaked

42M Downloads

Flame graph performance monitor

Lemmmy opened this issue ยท 2 comments

commented

run /computercraft perf <id> and wait a second or two, then /computercraft perf stop and it would give you something like these:

see: https://github.com/brendangregg/FlameGraph

commented

some ideas:

  • dump it into a file in the server directory for the admin to analyse
  • upload it to a website for 30 minutes, similar to all the sponge performance tools. requires a backend tho
commented

I've chucked a feedback-wanted label on this, as I'm feeling increasingly iffy about it. I feel it would be better to implement some sort of on-computer diagnostic tools rather than providing tools for server admins.

I personally see /computercraft track and friends as a way of localising the problem to a specific computer. Fixing slow programs is a whole 'nother issue, and tooling which aids that shouldn't be localised to ops.