I'm wondering which script profiler is the most recommended between nwnx and the vanilla, integrated one? Which one do you prefer?
Kato
I'm wondering which script profiler is the most recommended between nwnx and the vanilla, integrated one? Which one do you prefer?
Kato
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.
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)
I use default. Havent found difference between default and nwnx, both shows basically the same.
Thank you Shadooow!
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.