Skip to content

Export Validation Performance#109

Open
joelmacx wants to merge 4 commits intomainfrom
export-perf
Open

Export Validation Performance#109
joelmacx wants to merge 4 commits intomainfrom
export-perf

Conversation

@joelmacx
Copy link
Copy Markdown
Collaborator

@joelmacx joelmacx commented Apr 15, 2026

Description

Improve performance of tools used to validate and playback IAMF files. Most notably we use a more clever indexing method instead of brute force counting. These gains carryover to asynchronous task execution.

Observed indexing go from 640ms to 8ms for a 30s IAMF file.

Changes

  1. Update the IAMFFileReader indexing to calculate the size of the file based on TPU size after parsing descriptor OBUs.
  2. Reduce the amount of audio buffered initially and after seeks. This generally decreases startup time and seek time.
  3. Add some unit test coverage for this new indexing method.

Validation and Acceptance Criteria

  • Updated unit test coverage.
  • Documented this new indexing method.
  • Validated performance gains in host.

@joelmacx joelmacx self-assigned this Apr 15, 2026
@joelmacx joelmacx added the enhancement New feature or request label Apr 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant