Initialize the RuntimeProfiler class and run RuntimeProfiler.Run() every tick your script runs. It's super performant, using it only adds 0.0005ms of runtime at most (assuming 1.0 sim)
Initialize the RuntimeProfiler class and run RuntimeProfiler.Run() every tick your script runs. It's super performant, using it only adds 0.0005ms of runtime at most (assuming 1.0 sim)