Skip to content

Commit 85d99ea

Browse files
committed
Print JSONL filename when profiling finishes
1 parent 5775aa8 commit 85d99ea

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

Lib/profiling/sampling/jsonl_collector.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ def process_frames(self, frames, _thread_id, weight=1):
128128
self._frame_cumulative[frame_id] += weight
129129

130130
def export(self, filename):
131+
print(f"JSONL profile written to {filename}")
131132
with open(filename, "w", encoding="utf-8") as output:
132133
self._write_message(output, self._build_meta_record())
133134
self._write_chunked_records(

0 commit comments

Comments
 (0)