https://github.com/python/cpython/commit/06a2830aa8ea181b664ef04a930011e6e4591ab8
commit: 06a2830aa8ea181b664ef04a930011e6e4591ab8
branch: main
author: László Kiss Kollár <[email protected]>
committer: pablogsal <[email protected]>
date: 2026-05-20T04:29:48-07:00
summary:
gh-150034: Print JSONL filename when profiling finishes (#150035)
files:
M Lib/profiling/sampling/jsonl_collector.py
diff --git a/Lib/profiling/sampling/jsonl_collector.py
b/Lib/profiling/sampling/jsonl_collector.py
index 7d26129b80de86..5aa42ef09024dc 100644
--- a/Lib/profiling/sampling/jsonl_collector.py
+++ b/Lib/profiling/sampling/jsonl_collector.py
@@ -164,6 +164,7 @@ def export(self, filename):
self._iter_final_agg_entries(),
)
self._write_message(output, self._build_end_record())
+ print(f"JSONL profile written to {filename}")
def _build_meta_record(self):
record = {
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]