Closed Bug 701657 Opened 13 years ago Closed 1 year ago

Frequent GC pauses in a real time audio visualizer demo

Categories

(Firefox :: General, defect)

8 Branch
x86_64
macOS
defect

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: grantgalitz, Unassigned)

References

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:8.0) Gecko/20100101 Firefox/8.0 Build ID: 20111104165243 Steps to reproduce: Went to http://grantgalitz.org/wav_player/ and tested multiple music files in 16-bit WAV PCM format. Actual results: Visualizer and audio worked, but GC pauses were very noticeable and long. Almost as bad as firefox 3.6 with the GC pauses, although with a few hundred less megabytes utilized in Firefox 8 than in the old Firefox 3.6. Expected results: A nice smooth audio output, without GC pauses lasting half a second at times.
Hardware: x86 → x86_64
Try something like a 4 minutes 16-bit stereo song at 48 khz, that's what I did. If it doesn't play, then I believe you've run into a mozilla audio data api bug, being if you have a sample rate of 44.1 khz (I just noticed this, will report as a separate bug unless someone beats me to it).
Switched the visualizer to typed arrays, and this is no longer an issue. This bug should still be present, because this issue should not have happened with normal arrays.
unable to repro
Severity: normal → S3

(In reply to Grant Galitz from comment #3)

unable to repro
And the URL doesnt have a working testcase. --> Resolved Worksforsome.

Status: UNCONFIRMED → RESOLVED
Closed: 1 year ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.