Skip to contentSkip to conversation

Cache timings with various changes

bitbake-devel Richard Purdie 1 participant 1 message Nov 24, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 9 lines · Richard Purdie via lists.openembedded.org

I've talked about changing the data we cache in various forums. These are some actual numbers from a local system (88 core):

Patch                   Full reparse time    Cache load time    Cache size (compressed)     Cache size (uncompressed)
-----                   -----------------    ---------------    -----------------------     -------------------------
master baseline         5.732s               2.261s             N/A                         24M
frozenset changes       4.326s               2.289s             N/A                         24M
pickle in one           4.509s               2.177s             N/A                         24M
compress with zstd      6.040s               2.204s             3.4M                        24M

This line in the data is flawed as I changed the compression algorithm for codeparser at the same time and therefore the 6s number includes rebuilding the codeparser cache which none of the others do.

I'll continue to try and work through some of the pros/cons of the changes.

Cheers,

Richard