Profiler plugin help (And y_timers and foreach) - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Profiler plugin help (And y_timers and foreach) (
/showthread.php?tid=563211)
Profiler plugin help (And y_timers and foreach) -
FunnyBear - 14.02.2015
Hey,
I've recently installed the profiler plugin/include onto my server due to experiencing a bit of lag. After checking the file that the profiler plugin created, I noticed something quite unusual. I'm not sure if it is normal, because I haven't heard of it or seen it anywhere before.
unknown@00000008 was called 894 times during a period of
1 minute and
19 seconds.
Also,
unknown@0000bb7c was called 902 times.
Could someone explain what those two were about? Also, if you have any tips on reducing lag, please post it as well.
EDIT: I also have two questions. If I use
y_timers and
foreach as an alternative to timers and loops, would they decrease lag?
Thanks,
FunnyBear
Re: Profiler plugin help (And y_timers and foreach) -
Puppy - 14.02.2015
Well if you have a lot of timers / loops and they aren't scripted efficiently y_timers and foreach should help reduce the lag due to bad timer / loop related code.
And unknown@ probably is an opcode that isn't specifically attached to a name(just my guess as I don't use the profiler plugin).