From ec2e3faed2887032776e0bb5002aba291e538513 Mon Sep 17 00:00:00 2001 From: RollingStar Date: Mon, 1 Sep 2014 10:53:47 -0700 Subject: [PATCH] Created Performance (markdown) --- Performance.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Performance.md diff --git a/Performance.md b/Performance.md new file mode 100644 index 0000000..fba3d30 --- /dev/null +++ b/Performance.md @@ -0,0 +1,13 @@ +Due to the way RCT2 was designed, it may not perform as well as it could. While these issues are merely theoretical at this point, they may become more relevant as more of OpenRCT2 is written. + +#Many files + +It is [claimed](https://support.steampowered.com/kb_article.php?ref=7388-QPFN-2491) that individual operating system calls to many different files is less efficient than a few calls to larger ZIP-like files. While storing custom files individually could still be done, perhaps all of the RCT2 base scenarios could be bundled into something like `RCT2 Scenarios.zip`, and the tracks into `RCT2 Tracks.zip`, and so on. Each expansion as well as the base game has around 650 object files, in addition to each scenario and track file. + +#Many files in one folder + +NTFS [slows down significantly](http://stackoverflow.com/questions/115882/how-do-you-deal-with-lots-of-small-files) with 10,000+ files in one folder. UNIX-like systems are claimed to have issues as well. If ZIP-like files are not desired, subfolder support may need to be added. + +#Compression + +RCT2 uses [poorly-compressed](https://github.com/IntelOrca/OpenRCT2/wiki/Music-Cleanup) WAVs. FLACs are smaller and may load more quickly. Other files can probably be compressed more heavily as well, although the benefits of this may not be noticeable. Music occupies the majority (~2/3) of a default RCT2 install. \ No newline at end of file