边缘世界 RimWorld

边缘世界 RimWorld

Realistic Lighting and Shadows
Performance discussion
Hey, here's the discussion
< >
正在显示第 1 - 15 条,共 16 条留言
Sjaandi  [开发者] 7 小时以前 
Great! Thank you!

Can you send me a screenshot with the performance analyzer stats, as well as map size and possibly a screenshot of the map if you're okay with sharing that?
I'm testing on a small list and it does seem to be a non-issue there. It must be a mod-conflict or something. I will send you detailed information about the full pack issue.
Okay i'm seeing a major jump off the bat if used on a modlist with just this and "Minimal Light Control" which works alongside this mod typically if MLC is loaded after RLS.
Sjaandi  [开发者] 7 小时以前 
That is useful to know - it is a popular mod used with this one.
@Sjaandi I'm trying to profile the methods but whatever is the most expensive isn't showing, maybe cause its offloaded to the gpu or something.
Sjaandi  [开发者] 7 小时以前 
@Jacbo had the following in another discussion - adding it here for reference:

I'm seeing an average 3+ and sometimes 4+ ms for RealTiltMod.Patch_SectionLayerThings_Regenerate_On_Sun_Direction_Change:Prefix with constant 20+ ms spikes and if I profile the internal methods, I see an average ~1.5 ms on HarmonyLib.AccessTools:Method with constant 8+ ms spikes and a ~1.2 ms average on System.Reflection.MethodBase:Invoke with constant 6-8 ms spikes. Settings are mostly default. Only changed settings are enabling growing patches.Stuttering is the worst when my colony is on screen which only consists of about 6 buildings
Sjaandi  [开发者] 7 小时以前 
So - the method should only cause a performance hit when rotates 90 degrees around the sky. If That should be approximately every 6 hours starting at 6am (12pm, 6pm, 12am).
Are you seeing it more often than that?
@Sjaandi From my memory i'm getting 0.5-2ms constantly, except for night time. I'm testing my full modlist now without Minimal Light to see if there's anything else going on
@Sjaandi Did the test on the full list, can confirm issue is just caused by the Minimal Lighting thing. If you could make it so that doesn't happen i'd be eternally grateful, or maybe just integrate the feature into your mod itself.
I spoke too soon, its back up
System.Reflection method base invoke
Going from 2ms-5ms
Sjaandi  [开发者] 7 小时以前 
Is that with Minimal Light Control or WIthout?
Without. Also "SectionLayerThings_Regenerate_On_Sun_Direction_Change" prefix shooting up to 2ms now that its daytime and other one went down. This is on day two of a colony with a dev quicktest map (small)
I'm looking on another user's computer rn, System.Func Invoke is super expensive on hers
< >
正在显示第 1 - 15 条,共 16 条留言
每页显示数: 1530 50