Keep `lnt mirror-v4` from holding every machine listing in memory (#415) A refresh plans every machine before it modifies the mirror, so that the manifest stays consistent if the refresh is interrupted. Each plan held the machine's whole listing, raw and parsed, until the end of the refresh. A v4 listing embeds every field of every run, so the listings of a large suite take gigabytes, and they stayed in memory for the hours it takes to fetch the runs. Instead, keep only a SHA-256 digest of the machine's JSON so we can tell whether it has changed, needing only a fraction of the memory.
LNT is an infrastructure for performance testing. The software itself consists of two main parts, a web application for accessing and visualizing performance data, and command line utilities to allow users to generate and submit test results to the server.
The package was originally written for use in testing LLVM compiler technologies, but is designed to be usable for the performance testing of any software.
The official LNT documentation is available online at: https://llvm.org/docs/lnt
The LNT source is available in the llvm-lnt repository: https://github.com/llvm/llvm-lnt
To get started, please look at the Developer Guide in the official documentation.