Skip to content

dfmc-management: Improve call profiling dump output#1814

Merged
housel merged 1 commit into
dylan-lang:masterfrom
housel:dispatch-profiler-dump-improvement
Jun 4, 2026
Merged

dfmc-management: Improve call profiling dump output#1814
housel merged 1 commit into
dylan-lang:masterfrom
housel:dispatch-profiler-dump-improvement

Conversation

@housel

@housel housel commented Jun 1, 2026

Copy link
Copy Markdown
Member

Compiling with OPEN_DYLAN_PROFILE_ALL_CALLS set will cause call profiling dump files to be generated in the profiles subdirectory of the output. Previously the source location information for methods and call sites was not designed to be human-readable.

Compiling with OPEN_DYLAN_PROFILE_ALL_CALLS set will cause call
profiling dump files to be generated in the profiles subdirectory of
the output. Previously the source location information for methods
and call sites was not designed to be human-readable.

* sources/dfmc/management/back-end-driver.dylan
  (print-profiling-source-location): Rename from
   print-terse-source-location.
  (print-profiling-source-location on
   <compiler-range-source-location>): Print using
   print-source-record-source-location.
  (maybe-collect-and-dump-call-sites): Improve output using
   indentation, appropriate line spacing, and clear source location
   information.

* documentation/source/library-reference/dispatch-profiler/index.rst:
  Document the existence and purpose of call profiling dump files.
@housel housel force-pushed the dispatch-profiler-dump-improvement branch from 09be104 to 99e4256 Compare June 1, 2026 04:05
@housel housel merged commit 75a3442 into dylan-lang:master Jun 4, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants