-
Notifications
You must be signed in to change notification settings - Fork 74
[wip] benchmark encoding #1074
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
Draft
Dan-Flores
wants to merge
20
commits into
meta-pytorch:main
Choose a base branch
from
Dan-Flores:test_gpu_benchmarking
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
[wip] benchmark encoding #1074
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
e4b6d52 to
743b664
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs:
VideoEncoder on GPU med = 267.28, mean = 267.37 +- 0.65, min_time = 266.40, max_time = 269.23 - in ms
GPU utilization: avg = 2.0%, peak = 4.0%
FFmpeg CLI on GPU med = 510.03, mean = 538.76 +- 157.97, min_time = 504.85, max_time = 1375.05 - in ms
GPU utilization: avg = 4.3%, peak = 8.0%
VideoEncoder on CPU med = 184.93, mean = 186.89 +- 5.18, min_time = 178.24, max_time = 198.20 - in ms
CPU utilization: avg = 13.0%, peak = 15.8%
FFmpeg CLI on CPU med = 219.79, mean = 220.30 +- 4.42, min_time = 211.57, max_time = 231.77 - in ms
CPU utilization: avg = 11.1%, peak = 13.4%
Benchmarking up to 30 frames from testsrc2_10min.mp4 over 30 runs and counting write_frames time for FFmpeg:
VideoEncoder on GPU med = 267.41, mean = 267.45 +- 0.38, min_time = 266.64, max_time = 268.49 - in ms
GPU utilization: avg = 1.5%, peak = 4.0%
FFmpeg CLI on GPU med = 660.36, mean = 663.54 +- 8.49, min_time = 650.37, max_time = 682.00 - in ms
GPU utilization: avg = 2.4%, peak = 8.0%
VideoEncoder on CPU med = 199.04, mean = 198.27 +- 8.79, min_time = 181.96, max_time = 215.65 - in ms
CPU utilization: avg = 12.4%, peak = 13.7%
FFmpeg CLI on CPU med = 643.62, mean = 630.76 +- 63.45, min_time = 328.03, max_time = 662.71 - in ms
CPU utilization: avg = 4.2%, peak = 7.7%