UPDATE:
Increased overall server performance using ThreadPools, tested and proven that overall performance has been increased to reach less than 1 millisecond to load a character:
Tested many times to assure the results :p
Test Result #1 without threadpooling:
Garbage Collector results about memory usage:
Increased overall server performance using ThreadPools, tested and proven that overall performance has been increased to reach less than 1 millisecond to load a character:
Tested many times to assure the results :p
Test Result #1 without threadpooling:
Test Result #2 with threadpooling:Quote:
[TEST]Without ThreadPooling, it took: 16 milliseconds to load the character.
Results are way different as you guys can see, although i can't count on a 0 millisecond but of course there is a fraction, which due to the int value being roundedQuote:
[TEST]With ThreadPooling, it took: 0 milliseconds to load the character.
Garbage Collector results about memory usage:
PrivateMemorySize64 results about memory usage:Quote:
[CPX-Global] GC: "Allocated 14 megabytes on heap".
Now which one should i rely on? provided that both tests occur at the same point after loading the database in the serverQuote:
[CPX-Global] Allocated 51 megabytes on heap.