You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With CLS my modpack loads about 20 seconds slower.
I have small tool that fetch debug.log and gather all [...] took 0.001s values.
Without CLS there is more than 200 mods that loads less then 0.1s.
Total Load Time
Mods count
Description
76.52s
43
Other mods;
51.77s
156
'Fast' mods (load 1.0s - 0.1s);
6.76s
216
'Instant' mods (load %3C 0.1s)
With CLS mostly all of this "instant" mods increased their load time for 1.0s - 0.1s, so whole game load time increased for about 25s.
Total Load Time
Mods count
Description
77.15s
44
Other mods;
86.83s
334
'Fast' mods (load 1.0s - 0.1s);
2.14s
38
'Instant' mods (load %3C 0.1s)
This how my loading screen setup looks like:
I don't know how CLS working, but it feels like it drawing screen in sync mode, that cause little lag for frame rendering for each line of status log, so multiplying to 200 it adds this lag.
How to fix that? Fancy loading screen should not cost 20 seconds!
I think this might be caused by the CLS config option smooth_init defaulting to true rather than false - can you check to see if changing it does anything?
So yes, CLS seems to make it slower. I'd have to start debugging a bit deeper to find out why though. smooth_init intentionally sleeps so it's always going to make it slower, but every frame of the loading screen has to sync anyway - even with forge - so I'm not sure how much I can speed this up by.
Activity
AlexIIL commentedon Dec 9, 2021
I think this might be caused by the CLS config option
smooth_initdefaulting totruerather thanfalse- can you check to see if changing it does anything?Krutoy242 commentedon Dec 9, 2021
Right now my config option set to
false:Should i enable it to
true?AlexIIL commentedon Dec 9, 2021
No, I was hoping smooth init was the cause of this. Setting it to true would probably make it much slower then.
AlexIIL commentedon Dec 9, 2021
I'll try testing it locally - have you made any changes to the modpack (other than adding CLS) from what you're testing ATM and release 0.41.1?
Krutoy242 commentedon Dec 9, 2021
Yes, i did, but i didn't pushed them yet. I would make new release in next few hours.
AlexIIL commentedon Dec 9, 2021
Ok, from some local testing:
So yes, CLS seems to make it slower. I'd have to start debugging a bit deeper to find out why though.
smooth_initintentionally sleeps so it's always going to make it slower, but every frame of the loading screen has to sync anyway - even with forge - so I'm not sure how much I can speed this up by.Krutoy242 commentedon Dec 9, 2021
I would try to "play with options too if this would help.
I:fps_limit=10and nothing changes.timegetter, but even removing it, nothing changes, still slow.I:fps_limit=300wont change load time too