8000 Fix the Snapshot info on Roll the bones by IIeTpoc · Pull Request #4835 · Hekili/hekili · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix the Snapshot info on Roll the bones #4835

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

Merged
merged 1 commit into from
May 3, 2025
Merged

Conversation

IIeTpoc
Copy link
Contributor
@IIeTpoc IIeTpoc commented May 3, 2025

Fix the Snapshot info on Roll the bones.
Old snapshot was not labling "normal", "shorter", "longer" appropriately

Example of the current snapshot:
https://pastebin.com/PsSbxfTb

image

As a sidenote:
What is that peak time?)
image

Fix the Snapshot info on Roll the bones.
Old snapshot was not labling "normal", "shorter", "longer" appropriately
@Hekili
Copy link
Owner
Hekili commented May 3, 2025

For the change here, are we only concerned about the snapshot text output or are you seeing issues with what the addon would reroll away? If it's just the snapshot text that seems off, this is fine.

What is that peak time?

deep breath Work time is how much actual time the addon took to calculate recommendations. That work is divided in pieces so it doesn't spike and impact your frame rate (too significantly). So, in the worst case, it took the addon 32ms over 5 frames (6.4 ms/frame).

If your frame rate is locked to 60 FPS, that's 16.667ms per frame for the game engine, the base UI, and all addons to complete their work without delaying the next frame.

Peak time is actual time between when the addon started generating a set of recommendations and when it finished. This peak time does not necessarily correspond to the peak work, above. If the addon does 6ms of work per "busy" frame and there's 16.667ms per frame and (let's say) this set took 18ms, then we'd expect the work time to be 18ms and the actual time to complete would be 16.667 (frame 1) + 16.667 (frame 2) + somewhere between 6 and 16.667 (frame 3) or ~40ms to 50ms.

At some point, 737ms passed between the time the addon started calculating and finished calculating its recommendations. Since the peak work and the peak time really don't correspond, it suggests either (1) the game engine pooped itself and had one of those post-11.1 hiccups or (2) another addon ate a bunch of CPU time in the space between this addon's work.

@IIeTpoc
Copy link
Contributor Author
IIeTpoc commented May 3, 2025

It is purely cosmetic for the snapshot output. I have not seen issues in rerolling

@IIeTpoc
Copy link
Contributor Author
IIeTpoc commented May 3, 2025

Thanks for the clarification about performance info

@Hekili Hekili merged commit 9534425 into Hekili:thewarwithin May 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0