Bug 176489

Summary: Optimize the call to browserPrefix() in MotionMark
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: AnimationsAssignee: Said Abou-Hallawa <sabouhallawa>
Status: RESOLVED FIXED    
Severity: Normal CC: buildbot, cdumez, commit-queue, dino, jonlee, rniwa, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Said Abou-Hallawa
Reported 2017-09-06 17:55:59 PDT
This function is expensive and it does not change for the browser. No need to recalculate it every time it is called; just cache the returned value.
Attachments
Patch (1.79 KB, patch)
2017-09-06 17:57 PDT, Said Abou-Hallawa
no flags
Said Abou-Hallawa
Comment 1 2017-09-06 17:57:51 PDT
WebKit Commit Bot
Comment 2 2017-09-07 09:21:02 PDT
Comment on attachment 320085 [details] Patch Clearing flags on attachment: 320085 Committed r221735: <http://trac.webkit.org/changeset/221735>
WebKit Commit Bot
Comment 3 2017-09-07 09:21:04 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 4 2017-09-27 12:48:46 PDT
Note You need to log in before you can comment on or make changes to this bug.