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.
@kpamnany kpamnany force-pushed the kp-dispatch-metrics branch from 4901a19 to 10351ad Compare November 16, 2023 17:41
@kpamnany kpamnany force-pushed the kp-dispatch-metrics branch from e43ee0e to bbecd31 Compare November 26, 2023 16:40
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
github-actions bot pushed a commit that referenced this pull request Dec 16, 2024
Stdlib: SHA
URL: https://github.com/JuliaCrypto/SHA.jl.git
Stdlib branch: master
Julia branch: master
Old commit: aaf2df6
New commit: 8fa221d
Julia version: 1.12.0-DEV
SHA version: 0.7.0(Does not match)
Bump invoked by: @inkydragon
Powered by:
[BumpStdlibs.jl](https://github.com/JuliaLang/BumpStdlibs.jl)

Diff:
JuliaCrypto/SHA.jl@aaf2df6...8fa221d

```
$ git log --oneline aaf2df6..8fa221d
8fa221d ci: update doctest config (#120)
346b359 ci: Update ci config (#115)
aba9014 Fix type mismatch for `shake/digest!` and setup x86 ci (#117)
0b76d04 Merge pull request #114 from JuliaCrypto/dependabot/github_actions/codecov/codecov-action-5
5094d9d Update .github/workflows/CI.yml
45596b1 Bump codecov/codecov-action from 4 to 5
230ab51 test: remove outdate tests (#113)
7f25aa8 rm: Duplicated const alias (#111)
aa72f73 [SHA3] Fix padding special-case (#108)
3a01401 Delete Manifest.toml (#109)
da351bb Remvoe all getproperty funcs (#99)
4eee84f Bump codecov/codecov-action from 3 to 4 (#104)
15f7dbc Bump codecov/codecov-action from 1 to 3 (#102)
860e6b9 Bump actions/checkout from 2 to 4 (#103)
8e5f0ea Add dependabot to auto update github actions (#100)
4ab324c Merge pull request #98 from fork4jl/sha512-t
a658829 SHA-512: add ref to NIST standard
11a4c73 Apply suggestions from code review
969f867 Merge pull request #97 from fingolfin/mh/Vector
b1401fb SHA-512: add NIST test
4d7091b SHA-512: add to docs
09fef9a SHA-512: test SHA-512/224, SHA-512/256
7201b74 SHA-512: impl SHA-512/224, SHA-512/256
4ab85ad Array -> Vector
8ef91b6 fixed bug in padding for shake, addes testcases for full code coverage (#95)
88e1c83 Remove non-existent property (#75)
068f85d shake128,shake256: fixed typo in export declarations (#93)
176baaa SHA3 xof shake128 and shake256  (#92)
e1af7dd Hardcode doc edit backlink
```

Co-authored-by: Dilum Aluthge <[email protected]>
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