Closed
Bug 1365484
Opened 8 years ago
Closed 8 years ago
Remove the call to AbstractThread::GetCurrent() in Benchmark.cpp
Categories
(Core :: Audio/Video: Playback, enhancement, P3)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
mozilla55
| Tracking | Status | |
|---|---|---|
| firefox55 | --- | fixed |
People
(Reporter: jwwang, Assigned: jwwang)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
See bug 1365483 for the rationale.
| Assignee | ||
Updated•8 years ago
|
| Comment hidden (mozreview-request) |
Comment 2•8 years ago
|
||
| mozreview-review | ||
Comment on attachment 8868398 [details]
Bug 1365484 - Remove the call to AbstractThread::GetCurrent() in Benchmark.cpp.
https://reviewboard.mozilla.org/r/139988/#review143334
Attachment #8868398 -
Flags: review?(gsquelart) → review+
| Assignee | ||
Comment 3•8 years ago
|
||
Thanks!
Pushed by jwwang@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4887aee47d0a
Remove the call to AbstractThread::GetCurrent() in Benchmark.cpp. r=gerald
Comment 5•8 years ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 8 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Comment 6•8 years ago
|
||
Oh. Dispatching on the main thread here wasn't a great idea I'm afraid.
Though, I don't fully recall the details nor what the original thread was supposed to be.
This is called to test if our machine is fast enough. It's done by decoding a VP9 video. It can be very taxing from a CPU perspective.
Running this on the main thread could cause severe UI impact. .
Flags: needinfo?(jwwang)
| Assignee | ||
Comment 7•8 years ago
|
||
http://searchfox.org/mozilla-central/rev/9a7fbdee1d54f99cd548af95b81231d80e5f9ad1/dom/media/Benchmark.cpp#54
It is called from VP9Benchmark::IsVP9DecodeFast() which happens on the main thread. So the patch doesn't really make a difference.
Flags: needinfo?(jwwang)
You need to log in
before you can comment on or make changes to this bug.
Description
•