-
-
Notifications
You must be signed in to change notification settings - Fork 33
Open
Description
Work Expected From The Issue
Provide several optimizations to improve the performance of the video playback by making the following changes:
- Use an alternative allocator like
mimallocto improve the performance of the TUI app. - Enable gzip, brotli and http dynamic window size features on the reqwest client to speed up downloads.
- Use rayon to parallalize coloring and drawing work of frames both of videos and images to speed up video playback performance dramatically.
- Make
stdoutbuffered usingBufWriter. - Improve file reads using
BufReader. - Replace
gifs&gifs-disposecrate withopencvas using the prior gives poor performance and causes occasional video stutters. - Replace
fast-image-resizecode withimagecode which internally uses rayon by default. - Provide more optimised release build and debug build profiles.
The issue expects the following files to be changed/modified:
src/common/errors.rssrc/main.rssrc/pipeline/frames.rssrc/pipeline/image_pipeline.rssrc/pipeline/runner.rssrc/terminal/mod.rsCargo.toml
Note
All the files that are expected to be changed are located under the codebase (tplay directory).
Reason Behind These Changes
The reason behind having these changes is to improve the performance of the TUI app which can improve the performance of downloads and video playback, which can drastically improve the user experience.
Do you want to work on this issue?
Yes
Additional information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels