Invention Grant
- Patent Title: Automatic performance telemetry
-
Application No.: US17306282Application Date: 2021-05-03
-
Publication No.: US11921613B2Publication Date: 2024-03-05
- Inventor: Neil Evan Lydick
- Applicant: MICROSOFT TECHNOLOGY LICENSING, LLC
- Applicant Address: US WA Redmond
- Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee: MICROSOFT TECHNOLOGY LICENSING, LLC
- Current Assignee Address: US WA Redmond
- Agency: Newport IP, LLC
- Agent David W. Foster
- Main IPC: G06F8/30
- IPC: G06F8/30 ; G06F8/41 ; G06F9/455 ; G06F9/54 ; G06F11/30 ; G06F11/34

Abstract:
The disclosed techniques assist in diagnosing performance problems of a software application. A profiling module dynamically instruments the application at runtime by intercepting a request to compile one of the application's functions and augmenting the function with performance measuring code. This way, instrumentation is installed without recompiling the application. The execution time of a synchronous function is tracked by adding a local variable that stores function entry time, and by inserting code at each function exit point that computes the elapsed time. The execution time of an async function that executes across multiple threads is measured by repurposing a state machine value to also store the initial function entry time. Instrumented functions that are executed at a rate exceeding a threshold are un-instrumented to avoid self-inflicted performance problems. Function invocations associated with a particular activity, such as responding to a particular web request, may be correlated.
Public/Granted literature
- US20220350725A1 AUTOMATIC PERFORMANCE TELEMETRY Public/Granted day:2022-11-03
Information query