[DiscordArchive] curious for reference, how fast does everyones trinitycore (3.3.5 branch) start up in release mode?
[DiscordArchive] curious for reference, how fast does everyones trinitycore (3.3.5 branch) start up in release mode?
Archived author: Tea • Posted: 2022-08-17T17:43:29.185000+00:00
Original source
Starting Outdoor PvP System
>> Loaded 6 outdoor PvP definitions in 1 ms
Starting Battlefield System
>> Loaded 1 battlefields in 25 ms
Loading Transports...
>> Spawned 20 continent transports in 89 ms
Archived author: <o> • Posted: 2022-08-17T17:44:36.299000+00:00
Original source
i've made some adjustments and my record time for loading the whole server is now ~5.5 seconds, ~500ms of those are dbc loads, and ~3.5 seconds are all the sql loads
Archived author: <o> • Posted: 2022-08-17T17:45:25.098000+00:00
Original source
looking at the remaining cpu-bound tasks i think it's possible to get to the 4 second range, possibly getting to 3 range under perfect conditions
Archived author: <o> • Posted: 2022-08-17T17:46:17.900000+00:00
Original source
the biggest optimization by far is spamming mysql with every single query right at startup, do as much cpu-bound shit as possible and then load the queries like normal
Archived author: <o> • Posted: 2022-08-17T17:47:20.630000+00:00
Original source
and threading some of the worst tasks, like regex and cache building
Archived author: Tea • Posted: 2022-08-17T17:49:18.892000+00:00
Original source
those take the longest
Archived author: Tea • Posted: 2022-08-17T17:49:19.561000+00:00
Original source
>> Loaded 3117 ScriptNames in 1024 ms
>> Loaded 73039 broadcast text locales in 2509 ms
>> Loaded 38409 Item locale strings in 1253 ms
>> Localization strings loaded in 3718 ms
>> Loaded 151344 creatures in 1200 ms
>> Loaded 316541 creature loot templates in 1045 ms
Archived author: <o> • Posted: 2022-08-17T17:50:00.743000+00:00
Original source
most of that is the sql, but locale stuff has some cpu bound stuff that i think comes from the map lookups but i'm not sure
Archived author: Fabian • Posted: 2022-08-17T17:51:09.629000+00:00
Original source
heh. loading strings is always more expensive
Archived author: <o> • Posted: 2022-08-17T17:52:33.976000+00:00
Original source
script names are 1ms on their own, i don't even know how it can sort them that fast