-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KSP loader performance optimization #109
Commits on Aug 24, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 72c2bc4 - Browse repository at this point
Copy the full SHA 72c2bc4View commit details
Commits on Dec 7, 2022
-
Fix nested Persistent IConfigNode objects that each call LoadObjectFr…
…omConfig or CreateConfigFromObject (#86)
Configuration menu - View commit details
-
Copy full SHA for f5d86c7 - Browse repository at this point
Copy the full SHA f5d86c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0cd1cf3 - Browse repository at this point
Copy the full SHA 0cd1cf3View commit details -
Improve ConfigNode load/save perf (#88)
* Rewrite PreFormatConfig to iterate through strings as little as possible. * Improve logging, add @siimav's parallel processing bit (seems to be strictly slower even for 1m+ rows, tho) * Patch writing, too, for a slight improvement in perf * Fix a lingering issue with trailing braces * Patch on startup, not after MM. Skipping keys will only happen after MM, but they're really just there for sfs loading, can't trust what's in gamedatabase enough to skip parsing there. * Update readme and Settings * Big improvements to save perf by not writing lines / flushing / using a puny buffer. * missed a newline
Configuration menu - View commit details
-
Copy full SHA for ec4c0bd - Browse repository at this point
Copy the full SHA ec4c0bdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1596a17 - Browse repository at this point
Copy the full SHA 1596a17View commit details -
* Create ModUpgradePipeline modding patch. This patch will store and use mods' versions when running SaveUpgradePipeline scripts. * Go back to storing versions for all assemblies. Bump KSPCF version to minor, not revision. * Fix readme to link PR
Configuration menu - View commit details
-
Copy full SHA for 565302e - Browse repository at this point
Copy the full SHA 565302eView commit details -
* Rewrite more of ConfigNode. Avoid all recursion when reading from disk. Add further optimization around specific use cases (craft, sfs, cache loading). Add blacklist support (assumes all values are sane unless otherwise informed). * Try with MemoryMappedFile * Read to a char array, more inlining and optimizing This is better than it was, but in some cases the old version outperforms it. Fix some further parser issues, switch to new method of reading files Remove unused code from parser * Remove confignodeperf settings blocks, upodate readme * ConfigNodePerf: Patch copy, tostring, and parse as well. Refactor parse method so it can be used for either file or string case. * Allow not writing indents when saving nodes. * Found another copypasta issue with Santiize... * Rewrite ReadObject/WriteObject and associated code. Works fine in test but crashes my live game... * Add KSPAssembly attribute * Fixed exception when single field is specified more than once due to cfg error * Fix not saving nodes for objects/components when writing, cache fieldless objects to prevent recreating them when Persistent is applied wrongly * Fix fallback decoding for ReadFile * Don't double translate on load fail. Use a static stringbuilder, and reflect to clear previous chunks. * Further expand on notes in readme, clean up last bits prior to merge. Force sanitize off in the UpgradePipeline patch.
Configuration menu - View commit details
-
Copy full SHA for bf772ff - Browse repository at this point
Copy the full SHA bf772ffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a9c84be - Browse repository at this point
Copy the full SHA a9c84beView commit details -
Fix missing attribute for MultipleModulePartAPI, refactor WriteValue …
…for better support for other mods, update release script to behave correctly with new versioning bump version (only fileversion and KSPAssembly).
Configuration menu - View commit details
-
Copy full SHA for f695087 - Browse repository at this point
Copy the full SHA f695087View commit details -
Fix stock SaveUpgradePipeline bug where it blows up if a script doesn…
…'t support both sfs and craft contexts. Bump version.
Configuration menu - View commit details
-
Copy full SHA for ac8dbda - Browse repository at this point
Copy the full SHA ac8dbdaView commit details -
When using physics warp, Unity will set the max physics dt to be at least as high as the scaled physics dt. But KSP will never restore it back to the normal value from the settings. This can degrade performance as it allows more FixedUpdates to run per frame. reported by Wilds on the forum: https://forum.kerbalspaceprogram.com/index.php?/topic/184740-solved-losing-300-performance-after-time-warping/
Configuration menu - View commit details
-
Copy full SHA for a79478e - Browse repository at this point
Copy the full SHA a79478eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ea741c - Browse repository at this point
Copy the full SHA 8ea741cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b641b7 - Browse repository at this point
Copy the full SHA 3b641b7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 033825f - Browse repository at this point
Copy the full SHA 033825fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9027095 - Browse repository at this point
Copy the full SHA 9027095View commit details -
Fix a bug in ConfigNodePerf where it was not early-outing properly on…
… an extraneous }
Configuration menu - View commit details
-
Copy full SHA for cb2e196 - Browse repository at this point
Copy the full SHA cb2e196View commit details -
Configuration menu - View commit details
-
Copy full SHA for c239cdf - Browse repository at this point
Copy the full SHA c239cdfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ca4a7 - Browse repository at this point
Copy the full SHA 95ca4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f19ce3 - Browse repository at this point
Copy the full SHA 9f19ce3View commit details -
StockAlarmCustomFormatterDate : issue was fixed in KSP 1.12.4 so the …
…patch doesn't apply to this version anymore
Configuration menu - View commit details
-
Copy full SHA for 35d3900 - Browse repository at this point
Copy the full SHA 35d3900View commit details -
Configuration menu - View commit details
-
Copy full SHA for eaf850c - Browse repository at this point
Copy the full SHA eaf850cView commit details -
Configuration menu - View commit details
-
Copy full SHA for e3be82e - Browse repository at this point
Copy the full SHA e3be82eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 10bbf5e - Browse repository at this point
Copy the full SHA 10bbf5eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 17e6435 - Browse repository at this point
Copy the full SHA 17e6435View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3e2f888 - Browse repository at this point
Copy the full SHA 3e2f888View commit details -
Working implementation. Still todo :
- Backport of the texture cache (TextureLoaderOptimizations) - Unpatching after loading to prevent breaking stock/MM database reload feature, as well as runtime drag cube generation
Configuration menu - View commit details
-
Copy full SHA for f25724d - Browse repository at this point
Copy the full SHA f25724dView commit details
Commits on Dec 9, 2022
-
Configuration menu - View commit details
-
Copy full SHA for c787bdf - Browse repository at this point
Copy the full SHA c787bdfView commit details
Commits on Dec 30, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 92ab653 - Browse repository at this point
Copy the full SHA 92ab653View commit details
Commits on Dec 31, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 716d0e8 - Browse repository at this point
Copy the full SHA 716d0e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for e197945 - Browse repository at this point
Copy the full SHA e197945View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0010c74 - Browse repository at this point
Copy the full SHA 0010c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for a62f4cb - Browse repository at this point
Copy the full SHA a62f4cbView commit details
Commits on Jan 1, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 5e93a5b - Browse repository at this point
Copy the full SHA 5e93a5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f4221e - Browse repository at this point
Copy the full SHA 4f4221eView commit details