termui: make bugTable only use the cache

Labels: Easy pick

Timeline

Michael Muré (MichaelMure) opened

Currently, the bug table in the termui loads the full bug from disk from all bugs it display. This can easily amount to 30+ bugs to display a single page.

However, all those information are already in the cache (BugExcerpt and IdentityExcerpt) and could be used to make the table truly fast.

Michael Muré (MichaelMure) added label Easy pick

Michael Muré (MichaelMure) commented

Before:

real	0m1,271s
user	0m0,930s
sys	0m0,381s

After:

real	0m0,011s
user	0m0,007s
sys	0m0,005s

The termui now feels absolutely instant :tada:

Michael Muré (MichaelMure) closed the bug