Skip to content

rewrite jl_threading_run in julia #35632

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

Merged
merged 1 commit into from
Apr 29, 2020
Merged

rewrite jl_threading_run in julia #35632

merged 1 commit into from
Apr 29, 2020

Conversation

JeffBezanson
Copy link
Member

The goal of this is to change nothing except the language this function is written in. That will make it easier to evolve in the future, plus reduces the overhead of @threads. Using the benchmark from #32181 (func_threaded):
Before, 1 thread: 17.740 μs
Before, 2 threads: 19.890 μs
After, 1 thread: 14.639 μs
After, 2 threads: 16.095 μs

@JeffBezanson JeffBezanson added the multithreading Base.Threads and related functionality label Apr 28, 2020
@JeffBezanson JeffBezanson merged commit 9010b7f into master Apr 29, 2020
@JeffBezanson JeffBezanson deleted the jb/threadingrun branch April 29, 2020 17:35
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants