-
Notifications
You must be signed in to change notification settings - Fork 175
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
Cache regeneration performance issues #238
Comments
Update/edit: I tested it again and only noticed a performance issue when manually regenerating cache via RoRConfig.exe. |
@DirtGamer301 : Try manually erasing the content of Rigs of Rods 0.4/cache directory, then repeat your tests. I think you mixed 2 distinct operations:
|
I've always pressed on "regen cache", not clear cache, for test 1 and add/removing a vehicle for test 2 as cache clearing takes hours (atleast for me). |
I haven't noticed any difference in performance between cache regeneration in TB4 and previous versions. If anything I'd say TB4 is a bit quicker at regenerating. :P |
TB4 is much slower than .4.0.7 at regenning the cache (takes about 10 seconds per mod rather than the 20 or so mods per second in .4.0.7), and usually ends up crashing out for me about 1/4 of the way through, forcing me to regen in .4.0.7. |
@only-a-ptr The problem is that the new parser actually reads the whole truck file instead of just the sections needed for the cache.(Eg. title, description.. not nodes & beams and stuff) Which results in a slower regen time. |
For me, clicking "clear cache" in the configurator and then launching RoR take around 1~2 mins with 147 mods (the HQ and Content packs for 0.4 and a couple other vehicles). It's definitely slower than 0.4.0.7, but it's far from taking hours for me. |
I'll implement a "metadata-only" mode to the parser so that it only reads useful info and works faster. |
@only-a-ptr Is this fixed with #1233 ? |
@AnotherFoxGuy Pretty much yes. Let's close this ticket. Originally I intended to implement a limited parsing mode for cache only, but never got to do it. |
Regenerating the cache in Test Build 3 is waaay slower than in 0.4.0.7.
Also, after regenerating cache manually in 0.4.5.0 every single vehicle will be in the "Fresh" section.
The text was updated successfully, but these errors were encountered: