SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 30/06/2015, 10:12 AM   #251
maddinat0r
Banned
 
Join Date: Jun 2010
Location: Germany
Posts: 845
Reputation: 482
Default Re: Performance profiler

There's an AppVeyor debug build you can download here: https://ci.appveyor.com/project/Zeex...ld/8/artifacts
maddinat0r is offline   Reply With Quote
Old 30/06/2015, 11:01 AM   #252
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,528
Reputation: 556
Default Re: Performance profiler

Oh, neat, missed that
Misiur is offline   Reply With Quote
Old 17/03/2016, 01:57 PM   #253
Type-R
Huge Clucker
 
Type-R's Avatar
 
Join Date: Feb 2011
Posts: 291
Reputation: 5
Default Re: Performance profiler

Hey guys, could you explain to me the difference in self time and total time of a function? and is it in seconds? I have a query where worst time in self time is: 25655.4 and a timer that total time worst is: 38342.8, but self time is reasonable. What is aproxximately bad or laggy for server? Thank you.
__________________
Type-R is offline   Reply With Quote
Old 17/08/2016, 10:54 AM   #254
ReshiramZekrom
Big Clucker
 
ReshiramZekrom's Avatar
 
Join Date: May 2012
Location: Bari, Italy
Posts: 132
Reputation: 14
Default Re: Performance profiler

None knows why I got those errors when I start the gamemode with the Profiler plugin?

PHP Code:
[12:46:31]   Filterscript 'skinchanger.amx' loaded.
[
12:46:31] [debugServer crashed while executing IusGOLD.amx
[12:46:31] [debugAMX backtrace:
[
12:46:31] [debugNative backtrace:
[
12:46:31] [debug#0 5a8a64c2 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#1 5a8a6c56 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#2 5a8a2456 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#3 5a89ff82 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#4 65018b28 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#5 650109c7 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#6 6501631a in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#7 64e84509 in ?? () from plugins\streamer.DLL
[12:46:31] [debug#8 5a8a6d2b in ?? () from plugins\profiler.DLL
[12:46:31] [debug#9 5a8a2f7e in ?? () from plugins\profiler.DLL
[12:46:31] [debug#10 5a89ffca in ?? () from plugins\profiler.DLL
[12:46:31] [debug#11 0047441e in ?? () from samp-server.exe
[12:46:31] [debug#12 004010b6 in ?? () from samp-server.exe
[12:46:31] [debug#13 650162ca in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#14 5a8a6c45 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#15 5a8a2456 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#16 5a89ff82 in ?? () from plugins\profiler.DLL
[12:46:31] [debug#17 65018b28 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#18 650109c7 in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#19 6501631a in ?? () from plugins\crashdetect.DLL
[12:46:31] [debug#20 64e84509 in ?? () from plugins\streamer.DLL
[12:46:31] [debug#21 5a8a6d2b in ?? () from plugins\profiler.DLL
[12:46:31] [debug#22 5a8a2f7e in ?? () from plugins\profiler.DLL
[12:46:31] [debug#23 5a89ffca in ?? () from plugins\profiler.DLL
[12:46:31] [debug#24 0046f504 in ?? () from samp-server.exe
[12:46:31] [debug#25 75492f73 in ?? () from C:\Windows\system32\SHELL32.dll
[12:46:31] [debug#26 4c4f4773 in ?? () from samp-server.exe
[12:46:31] [debug#27 6d612e44 in ?? () from samp-server.exe 
__________________
ReshiramZekrom is offline   Reply With Quote
Old 17/08/2016, 12:26 PM   #255
Misiur
High-roller
 
Misiur's Avatar
 
Join Date: Jul 2009
Location: Poland
Posts: 2,528
Reputation: 556
Default Re: Performance profiler

Are you using call_graph? If yes, try disabling it, I think I had some similar issues with it.
Misiur is offline   Reply With Quote
Old 04/12/2016, 07:35 AM   #256
iLearner
Guest
 
Posts: n/a
Default Re: Performance profiler

It did not create any file when i gmxed server, tho it said profilling .... etc
  Reply With Quote
Old 04/12/2016, 08:55 AM   #257
iLearner
Guest
 
Posts: n/a
Default Re: Performance profiler

Edit: server crashes at:

Quote:
[10:48:49] [profiler] Dumping profiling statistics for filterscripts/knpc
Thats just an example ^^ crashes everytime i unload a fs, or gmx the server.
  Reply With Quote
Old 30/12/2016, 04:18 PM   #258
~Error
Big Clucker
 
~Error's Avatar
 
Join Date: Nov 2011
Location: Kongeriket Norge
Posts: 77
Reputation: 5
Default Re: Performance profiler

Quote:
Originally Posted by iLearner View Post
Edit: server crashes at:



Thats just an example ^^ crashes everytime i unload a fs, or gmx the server.
Same
__________________
моабабр комоманды длдлдл!
~Error is offline   Reply With Quote
Old 05/04/2017, 08:12 PM   #259
Tamer
High-roller
 
Tamer's Avatar
 
Join Date: Nov 2011
Location: Turkey
Posts: 1,099
Reputation: 172
Default Re: Performance profiler

This plugin used to show execution times for all functions but now it's just the main callbacks, what am I doing wrong?
__________________
The three stages of truth:

- Ridicule.
- Violent opposition.
- Acceptance.


Quote:
The greatest hypnotist on the planet Earth is an oblong box in the corner of the room. It is constantly telling us what to believe is real. If you can persuade people that what they see with their eyes is what there is to see you've got them. you know because they'll laugh in your face of an explanation that portrays the biggest picture of what's happening... and they have.

Last edited by Tamer; 06/04/2017 at 07:57 PM.
Tamer is offline   Reply With Quote
Old 06/09/2018, 03:13 PM   #260
Nubik
Big Clucker
 
Nubik's Avatar
 
Join Date: May 2013
Location: $location
Posts: 52
Reputation: 4
Default Re: Performance profiler

Why using profiler_callgraph 1 and profiler_callgraphformat dot crashing the server

Code:
20:06:37] [debug] Server crashed while executing gm.amx
[20:06:37] [debug] Native backtrace:
[20:06:37] [debug] #0 6c745492 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #1 6c745d0c in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #2 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #3 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #4 004746be in ?? () in samp-server.exe
[20:06:37] [debug] #5 004010b6 in ?? () in samp-server.exe
[20:06:37] [debug] #6 6cbadc92 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #7 6c745c15 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #8 6c740816 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #9 6c73baf2 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #10 6cbb5318 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #11 6cba97cc in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #12 6cbadcf4 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #13 6c9f4b39 in ?? () in plugins\streamer.DLL
[20:06:37] [debug] #14 6c745cfb in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #15 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #16 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #17 004746be in ?? () in samp-server.exe
[20:06:37] [debug] #18 004010b6 in ?? () in samp-server.exe
[20:06:37] [debug] #19 6cbadc92 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #20 6c745c15 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #21 6c740816 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #22 6c73baf2 in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #23 6cbb5318 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #24 6cba97cc in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #25 6cbadcf4 in ?? () in plugins\crashdetect.DLL
[20:06:37] [debug] #26 6c9f4b39 in ?? () in plugins\streamer.DLL
[20:06:37] [debug] #27 6c745cfb in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #28 6c74128b in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #29 6c73bb3a in ?? () in plugins\profiler.DLL
[20:06:37] [debug] #30 0046f654 in ?? () in samp-server.exe
[20:06:37] [debug] #31 65646f6d in ?? () in samp-server.exe
[20:06:37] [debug] #32 6f6f2f73 in ?? () in samp-server.exe
[20:06:37] [debug] #33 6d612e66 in ?? () in samp-server.exe
[20:06:37] [debug] Registers:
[20:06:37] [debug] EAX: 02909df0 EBX: 02909e20 ECX: 00000000 EDX: 00000000
[20:06:37] [debug] ESI: 048e4d48 EDI: 02909dfc EBP: 6f6f2f73 ESP: 00515c08
[20:06:37] [debug] EIP: 6d612e66 EFLAGS: 00210202
Nubik is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Timers performance Zamaroht Scripting Help 5 30/08/2012 09:29 AM
Bad performance on a great PC Juan Dover Client Support 20 13/02/2011 07:34 PM
Performance issues gamer931215 Everything and Nothing 3 26/08/2010 09:54 PM
SQL performance Dabombber Help Archive 7 24/09/2009 03:49 PM
9400 GT - GTA:SA Performance rafay Everything and Nothing 14 09/06/2009 04:23 PM


All times are GMT. The time now is 01:01 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.