spark icon indicating copy to clipboard operation
spark copied to clipboard

Showing how many times a function is called in a tick

Open casperwtf opened this issue 11 months ago • 25 comments

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.

casperwtf avatar Mar 11 '24 23:03 casperwtf

Would be very helpful, +1!

WillFP avatar Mar 11 '24 23:03 WillFP

+1

MachineBreaker avatar Mar 11 '24 23:03 MachineBreaker

+1

AoElite avatar Mar 11 '24 23:03 AoElite

+1, would speed up searching for performance issues

0ft3n avatar Mar 11 '24 23:03 0ft3n

+1, the more debug info the better

TH3N3WN00B avatar Mar 11 '24 23:03 TH3N3WN00B

+1

Toutouchien avatar Mar 11 '24 23:03 Toutouchien

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

PedroMPagani avatar Mar 12 '24 00:03 PedroMPagani

.

carlosdiamon avatar Mar 12 '24 00:03 carlosdiamon

+1

Belceebuh avatar Mar 12 '24 00:03 Belceebuh

+1

SkylerBoy avatar Mar 12 '24 00:03 SkylerBoy

1+

QuQuShKa1205 avatar Mar 12 '24 01:03 QuQuShKa1205

+1

HalosDev avatar Mar 12 '24 01:03 HalosDev

+1

DevloperAmanSingh avatar Mar 12 '24 03:03 DevloperAmanSingh

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

R00tB33rMan avatar Mar 12 '24 04:03 R00tB33rMan

+1

TheWylot avatar Mar 12 '24 04:03 TheWylot

+1

aivruu avatar Mar 12 '24 12:03 aivruu

+1

joshbker avatar Mar 12 '24 19:03 joshbker

+1

Dawsson avatar Mar 12 '24 19:03 Dawsson

+1

abstractabuser avatar Mar 12 '24 19:03 abstractabuser

+1

Tosfoy avatar Mar 12 '24 19:03 Tosfoy

+1

Kyus-Dev avatar Mar 12 '24 23:03 Kyus-Dev

+1

Athers1MC avatar Mar 12 '24 23:03 Athers1MC

+1

ThiemoBoven avatar Mar 13 '24 10:03 ThiemoBoven

+1

rekvs avatar Mar 13 '24 12:03 rekvs

+1, this would be really, really useful

AnAwesomGuy avatar Apr 13 '24 09:04 AnAwesomGuy