"Gathering information about your system" still takes too long

Bug #939019 reported by Daniel Manrique
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Released
Daniel Manrique

Bug Description

Checkbox 0.13.2 debuted a new job caching mechanism that speeds up the gathering phase, improving on user experience in this area, where we usually get complaints because it's too slow.

However this is still taking quite a bit of time; about 40 seconds on a relatively fast laptop. This negatively impacts the user experience and should ideally be reduced.

I dug into this a bit and found out the main cause is that we're too careful when writing information to disk; checkbox rev 1090 implements a very aggressive flushing policy meant to ensure that data won't be lost even if checkbox crashes mid-run.

However, when first starting checkbox, we don't have any data really worth keeping, and the gathering phase runs automatically anyway.

Finding a way to make the gathering jobs run without flushing to disk could help improve performance and provide a better user experience.

Related branches

Daniel Manrique (roadmr)
Changed in checkbox:
milestone: none → 0.13.3
Daniel Manrique (roadmr)
Changed in checkbox:
assignee: nobody → Daniel Manrique (roadmr)
importance: Undecided → Low
status: New → In Progress
Ara Pulido (ara)
Changed in checkbox:
status: In Progress → Fix Committed
Ara Pulido (ara)
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers