Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Improve the performance of the Tachyon profiler by avoiding unnecessary remote
reads of the base frame sentinel. Patch by Maurycy Pawłowski-Wieroński.
5 changes: 5 additions & 0 deletions Modules/_remote_debugging/frames.c
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,11 @@ process_frame_chain(
}
assert(frame_count <= MAX_FRAME_CHAIN_DEPTH);

if (frame_addr == ctx->base_frame_addr
Comment thread
maurycy marked this conversation as resolved.
Resolved
&& !(unwinder->gc && frame_addr == ctx->gc_frame)) {
Comment thread
maurycy marked this conversation as resolved.
Resolved
break;
}

if (ctx->chunks && ctx->chunks->count > 0) {
parse_result = parse_frame_from_chunks(
unwinder, &frame, frame_addr, &next_frame_addr, &stackpointer, ctx->chunks);
Expand Down
Loading