Closed Bug 494322 Opened 12 years ago Closed 12 years ago

Seeking in large cached videos in debug builds is slow

Categories

(Core :: Audio/Video, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: roc, Assigned: roc)

Details

Attachments

(1 file)

Attached patch fixSplinter Review
nsMediaCache::Verify gets called for every block we seek over, and it examines every block, so this makes seeking O(N^2) in the number of blocks. We should just not run Verify unless explicitly enabled by a developer.
Attachment #379019 - Flags: review?(chris.double)
Attachment #379019 - Flags: review?(chris.double) → review+
Summary: Seeking in large cached videos is slow → Seeking in large cached videos in debug builds is slow
Whiteboard: [needs landing][good first bug]
http://hg.mozilla.org/mozilla-central/rev/9eed09531a50
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Whiteboard: [needs landing][good first bug]
You need to log in before you can comment on or make changes to this bug.