Aller au contenu

Photo

Which profiler do you use?


  • Veuillez vous connecter pour répondre
7 réponses à ce sujet

#1
Kato -

Kato -
  • Members
  • 392 messages

I'm wondering which script profiler is the most recommended between nwnx and the vanilla, integrated one? Which one do you prefer?

 

 

Kato



#2
_Guile

_Guile
  • Members
  • 685 messages
Ignore my post...

#3
Baaleos

Baaleos
  • Members
  • 1 330 messages

He said Profiler.

Not compiler

 

Profiler is for determining efficency and statistics about how long scripts take to complete (to aleviate lag etc)

 

I use the nwnx one:

It helped me identify pathfinding issues which were causing my server to run at 40% CPU when no players are in.

Solving the issue managed to get my cpu down to less than 10% when empty.


  • Kato - aime ceci

#4
_Guile

_Guile
  • Members
  • 685 messages
Thanks Baalos, I misread that. :D

#5
Kato -

Kato -
  • Members
  • 392 messages

I was somewhat expecting nwnx to be the choice, thanks for confirming this, Baaleos. At least I got one answer lol... (and fortunately from a very advanced builder)



#6
Shadooow

Shadooow
  • Members
  • 4 471 messages

I use default. Havent found difference between default and nwnx, both shows basically the same.



#7
Kato -

Kato -
  • Members
  • 392 messages

Thank you Shadooow!



#8
kalbaern

kalbaern
  • Members
  • 824 messages

I use both, depending on what I'm looking for.

 

When using the default profiler, I mark the start and stop times an look for totals like script names and number of times ran. I found this to be a good lag indicator in a few folks PWs I've helped debug over the years. I.e., using simple math, I knew how many placeable, area or module wide heartbeats "should" be firing each round and compared it to actual results for a quick and dirty litmus test.

 

For just about anything else, I use the NWNX2 profiler though.


  • Kato - aime ceci