Skip to content
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

[DO NOT MERGE] Add dynamic dispatch metrics #109

Closed
wants to merge 26 commits into from

Conversation

kpamnany
Copy link
Collaborator

WIP.

Cleanup of #101 + box sizes + count of generic calls.

@github-actions github-actions bot added port-to-v1.10 This change should apply to Julia v1.10 builds port-to-master This change should apply to all future Julia builds port-to-v1.9 This change should apply to Julia v1.9 builds labels Nov 12, 2023
NHDaly and others added 20 commits November 16, 2023 17:14
Confirmed the correct `boxed` calls to log.
This one is a (rare) boxing of a static dispatch return.
Log the size of the datatype being boxed, both for inputs and returns.

Also, we cannot simply add in `jl_gc_alloc`s for our extra inputs as
they will actually be removed in late lowering. Instead, we simply add
to an extras count of boxed inputs and extras boxed input size.
Also add an `options.h` macro -- JL_DISPATCH_LOG_BOXES -- to control the
entire box logging feature.
Put the box logging feature behind JL_DISPATCH_LOG_BOXES.
JL_DISPATCH_LOG_BOXES
JL_DISPATCH_LOG_BOXES
To the logging functions. Also some cleanup.
Unsure why but it doesn't really matter.
Copy link

This PR is stale because it has been open 30 days with no activity. Comment or remove stale label, or this PR will be closed in 5 days.

@github-actions github-actions bot added the stale This pull request is inactive label Dec 27, 2023
@github-actions github-actions bot closed this Jan 1, 2024
@d-netto d-netto removed port-to-v1.10 This change should apply to Julia v1.10 builds port-to-v1.9 This change should apply to Julia v1.9 builds stale This pull request is inactive labels Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
port-to-master This change should apply to all future Julia builds
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants