Closed
Bug 1323834
Opened 7 years ago
Closed 7 years ago
Optimize some of the device blocklisting checks
Categories
(Core :: Graphics, defect, P5)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla53
Tracking | Status | |
---|---|---|
firefox53 | --- | fixed |
People
(Reporter: milan, Assigned: milan)
Details
(Whiteboard: [gfx-noted])
Attachments
(1 file)
When checking against the blocklist, we query the device information each time through the loop. No good reason to do that. See GfxInfoBase::FindBlocklistedDeviceInList
Assignee | ||
Updated•7 years ago
|
Priority: -- → P5
Whiteboard: [gfx-noted]
Comment hidden (mozreview-request) |
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8819395 [details] Bug 1323834: Evaluate some information outside the loop, then use it repeatedly. https://reviewboard.mozilla.org/r/99186/#review99978
Attachment #8819395 -
Flags: review?(dvander) → review+
Assignee | ||
Updated•7 years ago
|
Assignee: nobody → milan
Pushed by msreckovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/0f40b745a669 Evaluate some information outside the loop, then use it repeatedly. r=dvander
Comment 4•7 years ago
|
||
Backed out for bustage: https://hg.mozilla.org/integration/autoland/rev/10e3ea2d5f6bb79d263c5c4a52df59f29959e5be Push with bustage: https://treeherder.mozilla.org/#/jobs?repo=autoland&revision=0f40b745a66919b09fe289c797a2cb7fd6b9079b Failure log example: https://treeherder.mozilla.org/logviewer.html#?job_id=8182558&repo=autoland > /builds/slave/autoland-l64-00000000000000000/build/src/widget/GfxInfoBase.cpp:675:12: error: unused variable 'driverVersion' [-Werror=unused-variable]
Flags: needinfo?(milan)
Assignee | ||
Comment 5•7 years ago
|
||
Thanks for the backout. Unused variable strikes again. I'll make sure to do a try before pushing again.
Flags: needinfo?(milan)
Assignee | ||
Comment 6•7 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=4d03894900362375125466cd3797ce4800bd182b
Comment hidden (mozreview-request) |
Pushed by msreckovic@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/4b2df70dde35 Evaluate some information outside the loop, then use it repeatedly. r=dvander
Comment 9•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4b2df70dde35
Status: NEW → RESOLVED
Closed: 7 years ago
status-firefox53:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in
before you can comment on or make changes to this bug.
Description
•