So basically I have a complex modulescript with a lot of functions and when using it can be quite slow but I haven’t got a clue where to start
Is there a way to see what individual functions are taking the longest to run without adding some weird profiling stuff to all of them
PS: When I say “a lot of functions” I mean local functions which the “public” functions call
1 Like
If the functions yields then you could use time.tick to calculate how long the function took to execute.
i.e. using this guide