发明名称 Monitoring mobile application performance
摘要 Aspects of the subject disclosure are directed towards monitoring application performance during actual use, particularly mobile application performance. Described is instrumenting mobile application binaries to automatically identify a critical path in user transactions, including across asynchronous-call boundaries. Trace data is logged by the instrumented application to capture UI manipulations, thread execution, asynchronous calls and callbacks, UI updates and/or thread synchronization. The trace data is analyzed to assist developers in improving application performance.
申请公布号 US9405654(B2) 申请公布日期 2016.08.02
申请号 US201313923187 申请日期 2013.06.20
申请人 Microsoft Technology Licensing, LLC 发明人 Ravindranath Sivalingam Lenin;Padhye Jitendra D.;Agarwal Sharad;Mahajan Ratul;Obermiller Ian;Shayandeh Shahin
分类号 G06F9/44;G06F11/34;G06F11/36 主分类号 G06F9/44
代理机构 代理人 Corie Alin;Swain Sandy;Minhas Micky
主权项 1. A method for automatically instrumenting application code for collecting information during actual use of the application code by field users, the method comprising: inserting one or more logging functions and one or more event handlers into the application code to log events during an execution of the application; automatically inserting code into the application code to assign an identifier for an invocation of an asynchronous call to detour a callback corresponding to the asynchronous call that is made during actual use of the application code in the field to detour code, the detour code being executed to associate the callback with the asynchronous call based upon the identifier; and upon logging the data during execution of the application, matching the asynchronous call to the corresponding callback by: identifying a call site where the asynchronous call was made; assigning a call site identifier to the call site; logging the call site identifier when the callback started executing as an upcall; and associating a beginning of an execution of the callback to the asynchronous call.
地址 Redmond WA US