[IMPROVEMENT] Add Linux throughput benchmarking guide and helper script#2246
Closed
ObaidAbdullah16 wants to merge 1 commit into
Closed
[IMPROVEMENT] Add Linux throughput benchmarking guide and helper script#2246ObaidAbdullah16 wants to merge 1 commit into
ObaidAbdullah16 wants to merge 1 commit into
Conversation
Author
|
Hi @cfsmp3 — could you please take a look when you have a moment? This PR adds a Linux throughput benchmarking guide + helper script. Thanks! |
Contributor
|
Closing — we appreciate the effort, but we don't want to add benchmarking tooling to the project at this time. The README whitespace changes are cosmetic and not needed. Thanks though. |
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
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.
In raising this pull request, I confirm the following (please check boxes):
Reason for this PR:
Sanity check:
Repro instructions:
N/A — this PR does not change extraction logic and does not fix a specific bug. It adds documentation + a helper script for repeatable Linux throughput benchmarking.
Summary
This PR adds a small Linux-focused benchmarking guide plus a helper script to measure CCExtractor throughput (MB/s) in a repeatable way.
The goal is to make it easier for contributors to compare performance before/after changes (scheduler, I/O, filesystem, build flags, etc.) using a consistent workflow.
Context
I’m working towards Linux throughput/performance tuning work and wanted to contribute a small prerequisite: a repeatable way to benchmark CCExtractor throughput before/after changes.
Changes
docs/performance/linux-throughput.mdwith a short, repeatable throughput benchmarking workflow for Linux.tools/bench_linux_throughput.shto run CCExtractor multiple times and print wall time + MB/s, with optional CSV output.README.mdunder a new Performance section.Sample / verification instructions (Linux)
This PR is docs + tooling (not a bug fix), but to make the instructions concrete here is a public sample you can use to try the script:
Sample (public/open movie):
Example run:
Expected result:
results.csvis created with columnsrun,seconds,mb,mb_per_s.