Bug 134447

Summary: deviceorientation event - high cpu load
Product: WebKit Reporter: Oleg Isonen <oleg008>
Component: UI EventsAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Blocker    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: iPhone / iPad   
OS: iOS 7.0   

Description Oleg Isonen 2014-06-30 10:00:50 PDT
Pure listening to this event with noop handler leads to ~10% cpu load on iphone 5 ios 7. More than that xcode says "Other Processes" consume 50-70% cpu at the same time.

Both levels go down when event listener is removed.
Comment 1 Oleg Isonen 2014-06-30 10:02:55 PDT
Agent string: Mozilla/5.0 (iPhone; CPU iPhone OS 7_1_1 like Mac OS X) AppleWebKit/537.51.2 (KHTML, like Gecko) Mobile/11D201 (358166864)