#neat

1 messages · Page 1 of 1 (latest)

midnight bough
#

goddamn it i bought gprofiler last week because i was too lazy to make my own. thanks for releasing this

bold seal
#

gprofiler is still good alongside these

#

so is fprofiler

#

none of them are all-in-ones that do everything you could need

stable monolith
#

yup

midnight bough
#

agreed. i like the 10s timespan for hook perfs - whats the impact like this ? fprofiler tends to completely lock up my server

bold seal
#

low

#

fprofiler watches all of lua, this is just timing each invocation of a hook

#

very lite

#

when @cold void gets a little farther with their graphing/plotting library it would be super sick to hook these tools up with some basic graphs

bold seal
#

I tried making something like this years ago where I would graph it in a dhtml panel before I realized that was basically impossible

#

if you can plot and graph, we'd have a new age of in-game debugging

#

i would start hooking it up to everything

midnight bough
#

@stable monolith could you maybe add some more info on the output? just first run shows hook unique name, hook name, some time im assuming, and some other number. these mean nothing unless i dig into the code to see what it means

stable monolith
#

which script

midnight bough
#

hookperf

#

(just print a 'title' column before you look through teh hook table)

#

like
print("Hook Name","Hook", "Total Time", "Count") so its clear what each value is

stable monolith
#

yeah sure

stable monolith
#

@midnight bough updated it

#

also supports custom duration now

midnight bough
#

ty. i would update but ive already tweaked to add things i needed, perhaps a quickest/longest run of the hook, and average times? total time doesnt mean much but average is pretty useful