starting speed test

Open discussion forum. For topics that do not fit anywhere else.

Moderator: POL Developer

Post Reply
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm
Location: Russia, Moscow

starting speed test

Post by atreiu »

Hello

why old POL is starting more faster than last from SVN?

LEFT:
Huuuuge script base that started developed in 2000 year
9613 spawns of NPC
CoreVersion 99
CoreVersionString POL099beta-2010-01-02
CompileDate Oct 2 2010

RIGHT:
Only distro 099 scripts
100-200 NPC spawns
CoreVersion 99
CoreVersionString 99.0.1 Break Everything Even Rudder
CompileDate Jul 29 2016

If i copy scripts from old POL (left) to last POL (right) then last POL starting in 5-7 times slower than old POL O_o

https://www.youtube.com/watch?v=NEv6l47EYag
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: starting speed test

Post by Turley »

It looks like you build the debug version on the right side, since it prints the object sizes right at the beginning. Debug is of cause way slower then release build.
User avatar
atreiu
Grandmaster Poster
Posts: 151
Joined: Mon May 24, 2010 1:08 pm
Location: Russia, Moscow

Re: starting speed test

Post by atreiu »

Thanks Turley. Myth busted, release POL realy working fast like hell :)
Turley
POL Developer
Posts: 670
Joined: Sun Feb 05, 2006 4:45 am

Re: starting speed test

Post by Turley »

Lucky me ;) took me a while to see the problem the first minutes where like wtf... ;)
Post Reply