Providing additional stack trace information for time-based sampling in asynchronous execution environments
Abstract
The present disclosure describes methods, systems, and computer program products for providing additional stack trace information for time-based sampling (TBS) in asynchronous execution environments. One computer-implemented method includes determining whether time-based sampling is activated to capture a time-based sampling data during execution of a JavaScript function; in response to determining that the time-based sampling is activated to capture the time-based sampling data, determining whether a callback stack trace is active; in response to determining that the callback stack trace is active, loading the callback stack trace; retrieving a current stack trace of the JavaScript function; and saving the loaded callback stack trace and the current stack trace of the JavaScript function as the time-based sampling data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 42 · Forward citations: 0.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A computer-implemented method, comprising: determining whether time-based sampling is activated to capture a time-based sampling data during execution of a JavaScript function, wherein the JavaScript function comprises an asynchronous function execute in a Node.js system; and in response to determining that the time-based sampling is activated: determining whether a callback stack trace is active; in response to determining that the callback stack trace is active: loading an active callback stack trace; and providing the active callback stack trace and a current stack trace of the JavaScript f
- Claim 2Depends on #1
The computer-implemented method of claim 1 , comprising: in response to determining that the time-based sampling is activated and that the callback stack trace is not active: provid
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (42)
Non-Patent Literature (2)
- Non-Final Office Action issued in U.S. Appl. No. 16/740,169 dated Oct. 2, 2020, 14 pages.
- Non-Final Office Action issued in U.S. Appl. No. 17/328,471 dated Oct. 26, 2021, 12 pages.