spark

spark

26M Downloads

Showing how many times a function is called in a tick

casperwtf opened this issue ยท 25 comments

commented

Description

There are plenty of times when the issue with a given function isn't related to the code within the function but by the sheer number of calls to that function, having a counter to say how often a function is being called per tick would nice.

Proposed Behaviour

Include data on how many times that function is being called.

Extra Details

Having this on a tick to tick basis would be appreciated to debug errors in code where specific cases (such as players joining) causes functions to run too many times.

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1, would speed up searching for performance issues

commented

Would be very helpful, +1!

commented

+1, the more debug info the better

commented

+1

commented

.

commented

I couldn't think of anything better to be on the profile, this is amazing.

commented

+1

commented

+1

commented

1+

commented

+1

commented

+1

commented

+1. Better to be definitive. This isn't a guessing game!

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1

commented

+1, this would be really, really useful