-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dispatch profiling #1621
Dispatch profiling #1621
Commits on Jun 20, 2024
-
dispatch-profiler: Remove an obsolete hack
* sources/lib/dispatch-profiler/dispatch-profiler.dylan (print-dispatch-statistics): Remove a whitespace-stripping workaround for a problem with the pentium-dw command parser.
Configuration menu - View commit details
-
Copy full SHA for e809ebc - Browse repository at this point
Copy the full SHA e809ebcView commit details -
dfmc-modeling: Make profiling cache header count slots raw
* sources/dfmc/modeling/functions.dylan (&class <profiling-call-site-cache-header-engine-node>): Declare the count slots for profiling cache-header engine nodes as <raw-machine-word> to reflect the way they are used in generated code. * sources/dfmc/llvm-back-end/llvm-entry-points.dylan (entry-point-descriptor profiling-cache-header): Remove a "todo" comment about making the change above.
Configuration menu - View commit details
-
Copy full SHA for 0e0eb65 - Browse repository at this point
Copy the full SHA 0e0eb65View commit details -
dylan: Properly initialize profiling cache header engine nodes
* sources/dylan/discrimination.dylan (compute-terminal-engine-node): Change the initialization order of profiling cache header engine nodes so that the generic function is available to the primitive-initialize-engine-node implementation (via the cache-header-engine-node-parent slot).
Configuration menu - View commit details
-
Copy full SHA for 1b6d9f6 - Browse repository at this point
Copy the full SHA 1b6d9f6View commit details -
dylan: Update hit counts in discriminator nodes
* sources/dylan/new-dispatch.dylan (make-linear-class-keyed-discriminator): Initialize lckd-hits in newly instantiated <linear-class-keyed-discriminator> nodes. (linear-class-key-lookup): Increment lckd-hits when the class is found. (make-linear-singleton-discriminator): Initialize lsd-hits in newly instantiated <linear-singleton-discriminator> nodes. (immediate-linear-singleton-discriminator-element): Increment lsd-hits when the matching instance is found. (value-object-linear-singleton-discriminator-element): Increment lsd-hits when the matching instance is found.
Configuration menu - View commit details
-
Copy full SHA for 27e9843 - Browse repository at this point
Copy the full SHA 27e9843View commit details -
dispatch-profiler: Add a macro encapsulating dispatch profiling
* sources/lib/dispatch-profiler/dispatch-profiler.dylan (with-dispatch-profiling-report): New macro for performing dynamic dispatch profiling on a block of code and printing out a summary report after execution completes. * sources/lib/dispatch-profiler/dispatch-profiler-library.dylan (module dispatch-profiler): Export the with-dispatch-profiling-report macro.
Configuration menu - View commit details
-
Copy full SHA for e822d64 - Browse repository at this point
Copy the full SHA e822d64View commit details
Commits on Jun 24, 2024
-
documentation: Document the dispatch-profiler library
* documentation/source/library-reference/dispatch-profiler/index.rst: New documentation source. * documentation/source/library-reference/index.rst: Add the dispatch-profiler to the Library Reference.
Configuration menu - View commit details
-
Copy full SHA for a45578a - Browse repository at this point
Copy the full SHA a45578aView commit details -
dispatch-profiler: Fix a compiler warning
* sources/lib/dispatch-profiler/walk-dispatch.dylan (with-preserved-dispatch-walking-types): Comment out this currently unused macro definition.
Configuration menu - View commit details
-
Copy full SHA for f03a7e2 - Browse repository at this point
Copy the full SHA f03a7e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 114b29c - Browse repository at this point
Copy the full SHA 114b29cView commit details