jorisvddonk / operation_rm

Operation RM is a space shooter game in which you fight your own filesystem, inspired by Operation: Inner Space.
Other
1 stars 0 forks source link

Exploring folders with lots of video files in them causes massive performance issues #3

Open jorisvddonk opened 7 years ago

jorisvddonk commented 7 years ago

Whenever you navigate to a folder with lots of video files in there, massive performance issues happen. The bigger the video files are, the worse it gets.

jorisvddonk commented 7 years ago

Caching transcoded videos should help alleviate things a bit, but isn't a proper solution.

A quick look at the problem seems to reveal that this appears to be a browser / GPU issue (all frames of the video need to be uploaded to the GPU) that's made worse by the transcoding process potentially being slow (as all transcoding operations are fighting for the same resources).

The quickest, easiest fix seems to be to stop loading videos after a few seconds. Alternatively, videos could be loaded sequentially.