Page MenuHomeFeedback Tracker

Clicking on Campaigns trigger a 5s+ freeze
Closed, ResolvedPublic

Description

As the title says, clicking on Campaigns trigger a 5s+ freeze, most likely for config loading. This should ideally not happen unless -filePatching is used (reloading \Campaigns directory).

Details

Severity
Trivial
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
General

Event Timeline

dedmen changed the task status from New to Assigned.Feb 1 2021, 5:44 PM
dedmen set Ref Ticket to AIII-53853.

Cannot really reproduce. I get about a 1 second freeze, maybe less than that.

dedmen added a comment.EditedFeb 2 2021, 11:15 AM

Okey its 2.7 seconds, and its spent loading config files, the description.ext's and mission.sqm's of all the campaigns and their missions (which is probably why it takes so long for you, you probably played more missions than I did)

dedmen added a comment.EditedFeb 2 2021, 12:44 PM

Oof, okey reproduced with 10 seconds freeze.
I can get rid of about 25% of that, but seems like not much more.

dedmen added a comment.Feb 2 2021, 1:04 PM

I also found a way to improve performance of all config loading, so that should help a little.

Nice! I wonder if it is possible to cache that on the first loading, unless -filePatching is used?

LouMontana updated the task description. (Show Details)Feb 2 2021, 1:16 PM
dedmen changed the task status from Assigned to Feedback.Feb 2 2021, 5:22 PM

Some improvements have been made, cut about 20% of the time off.
All other ideas I have are too big/problematic.

Even if i cache, which yes I could do, most players open the dialog once or twice per Arma start, and the first click will still freeze as much as it does now.
If any mission.sqm/description.ext is loaded twice that would help out there. But the fix I did was already the description.ext's being loaded twice.

Won't fix for the rest, dev-branch not this week

well, thanks for that anyway! 👍

Pi closed this task as Resolved.Jun 12 2021, 4:34 PM