Skip to content

Improve perf tooling and media/scanner throughput#221

Open
MrFruitDude wants to merge 2 commits intoAcademySoftwareFoundation:mainfrom
MrFruitDude:codex/perf-qol-improvements
Open

Improve perf tooling and media/scanner throughput#221
MrFruitDude wants to merge 2 commits intoAcademySoftwareFoundation:mainfrom
MrFruitDude:codex/perf-qol-improvements

Conversation

@MrFruitDude
Copy link

Summary

  • add portable dev/ci/perf CMake presets plus a JSON perf baseline helper
  • speed up frame request handling with deduplicated ordered storage and focused tests
  • pool media reader workers, dedupe urgent image requests, and cancel superseded playhead work
  • parallelize scanner helpers and cache checksum fingerprints by size + mtime
  • expose new media reader and scanner worker-count preferences

Testing

  • python3 -m json.tool CMakePresets.json
  • python3 -m json.tool share/preference/core_media_reader.json
  • python3 -m json.tool share/preference/core_scanner.json
  • python3 -m py_compile scripts/perf/baseline.py
  • python3 scripts/perf/baseline.py --output /tmp/xstudio-perf-baseline.json --command pwd:pwd

Notes

  • full CMake build/test validation was not possible in this environment because cmake and ninja are not installed and the CAF/Qt toolchain is not available locally

@linux-foundation-easycla
Copy link

linux-foundation-easycla bot commented Mar 10, 2026

CLA Signed

The committers listed above are authorized under a signed CLA.

Signed-off-by: MrFruitDude <simon.roetzer@gmail.com>
@MrFruitDude MrFruitDude force-pushed the codex/perf-qol-improvements branch from f4d736f to 961582f Compare March 10, 2026 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant