NVlabs / FPSci

Aim Training Experiments
Other
70 stars 23 forks source link

Performance hitch early in runtime #375

Closed bboudaoud-nv closed 2 years ago

bboudaoud-nv commented 2 years ago

There is a known issue w/ a performance hitch around shooting at/eliminating the first target in a run of FPSci. We believe this may be related to how audio is loaded/played for the first time but have not confirmed this. Currently the issue is not (typically) a problem as the first target shot at/destroyed is typically a reference and thus the bug does not impact "true" data collection.

jspjutNV commented 2 years ago

I believe this is related to #275 .

morgan3d commented 2 years ago

FWIW, on other platforms I play all "streaming" sounds at game startup with 0 volume in order to force them to pre-load.

-m

On Wed, May 25, 2022 at 2:38 PM Josef Spjut @.***> wrote:

I believe this is related to #275 https://github.com/NVlabs/FPSci/issues/275 .

— Reply to this email directly, view it on GitHub https://github.com/NVlabs/FPSci/issues/375#issuecomment-1137702500, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA6JHYX6YCOLADKGMLNRSYLVLZXRTANCNFSM5W5UAUHA . You are receiving this because you are subscribed to this thread.Message ID: @.***>

jspjutNV commented 2 years ago

That's our plan as well. We just haven't gotten around to it because the impact has been minor enough since it's only the first sound. It's probably most annoying that it may be causing one of the automated tests to fail, though we haven't proven that. We do know that by changing the order of the tests, the failing test starts passing and a test moved earlier fails for similar reasons (click and hold).