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

improve performance of disabling finalizers in locks #39153

Merged
merged 1 commit into from
Jan 19, 2021

Conversation

JeffBezanson
Copy link
Member

helps #38947

For me the example in the issue takes 0.78 sec in v1.5, 1.09 sec on master or release-1.6, and 0.91 sec with this PR. That's about all I can manage in the current setup. Further speedup may have to wait until we can run all finalizers on a dedicated thread.

@JeffBezanson JeffBezanson added performance Must go faster multithreading Base.Threads and related functionality backport 1.6 Change should be backported to release-1.6 labels Jan 8, 2021
src/ccall.cpp Outdated Show resolved Hide resolved
@KristofferC KristofferC mentioned this pull request Jan 19, 2021
60 tasks
@KristofferC
Copy link
Member

Can be merged?

@JeffBezanson JeffBezanson merged commit e8f23d7 into master Jan 19, 2021
@JeffBezanson JeffBezanson deleted the jb/disablefinalizerperf branch January 19, 2021 16:47
KristofferC pushed a commit that referenced this pull request Jan 19, 2021
vtjnash added a commit that referenced this pull request Jan 20, 2021
@vchuravy vchuravy mentioned this pull request Jan 22, 2021
27 tasks
@KristofferC KristofferC removed the backport 1.6 Change should be backported to release-1.6 label Feb 1, 2021
KristofferC pushed a commit that referenced this pull request Feb 1, 2021
ElOceanografo pushed a commit to ElOceanografo/julia that referenced this pull request May 4, 2021
antoine-levitt pushed a commit to antoine-levitt/julia that referenced this pull request May 9, 2021
staticfloat pushed a commit that referenced this pull request Dec 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
multithreading Base.Threads and related functionality performance Must go faster
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants