Hi there everyone -
Im currently in the process of having a go at speeding up the ManifestBuilder compiling process. Basically ive written a very early prototype of a new Manifest Builder, which id like to get some feedback and ideas for. Currently it reduces manifest build time by around a quarter (from 1.2 seconds to 0.9 seconds) on my local machine - id also appreciate it if some others would test it out.
Im also creating some PHPUnit tests to ensure that functionality remains the same across both builders.
To install, download the NewManifestBuilder.php file below, and copy it to your sapphire/core directory. Then open up main.php, and replace the line
require_once("core/ManifestBuilder.php");
with
require_once("core/NewManifestBuilder.php");
and replace the lines
if(ManifestBuilder::staleManifest()){
ManifestBuilder::compileManifest();
}
with
NewManifestBuilder::run();