-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
07121c7
commit 0195916
Showing
3 changed files
with
21 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
name = "VectorizedRNG" | ||
uuid = "33b4df10-0173-11e9-2a0c-851a7edac40e" | ||
authors = ["Chris Elrod <[email protected]>"] | ||
version = "0.2.23" | ||
version = "0.2.24" | ||
|
||
[deps] | ||
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0195916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@JuliaRegistrator register
0195916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Registration pull request created: JuliaRegistries/General/81842
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
0195916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here you reported that you removed this because it caused allocation. I tried restoring it and got
which doesn't reproduce the problem. I'm just guessing, though. If you have a reproducer I'd be very grateful.
0195916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@timholy, I can't reproduce the allocation at the moment, but I do get an >8x performance regression from precompilation.
Using:
with
Versus the master bracnh
No allocations, but 357 ns vs 41 ns mean time.
The fact that it does not allocate makes it harder to detect and realize that something is wrong.
Allocations are easier to test than runtime in unit tests. Perhaps looking at the
code_llvm
would work, assuming we don't get lied to. The current state of affairs is that it's safer to just not precompile, so few of my libraries do.0195916
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I cannot reproduce on Julia 1.9.3:
Note that
Base
is also nearly 2x faster here.I've noticed that Julia master is slower than the release version in general, but perhaps that's to be expected for an unreleased version.