Performance of latest releases page/module slowly degrading
As more files are added the performance of latest releases page/module is gradually degrading. This is because it has to parse through all the files and build a list of latest releases. This performance needs to be improved significantly somehow and is likely due to so much file read access.
Updated by krileon almost 4 years ago
- % Done changed from 0 to 50
Large chunk of the performance loss was from modifying package version arrays by reference and not caching any of this. It no longer modifies by reference, but returns the access parsed packages and now caches. This translated to over 2k millisecond performance gain, which in total is roughly 30% performance gain.