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

Reimplement ConcurrentDict using proper language API #21

Merged
merged 3 commits into from
Sep 16, 2021
Merged

Reimplement ConcurrentDict using proper language API #21

merged 3 commits into from
Sep 16, 2021

Conversation

tkf
Copy link
Member

@tkf tkf commented Sep 16, 2021

This introduces something like 2x performance regression. But it at least (hopefully) gets rid of unsound use of the runtime internals.

@codecov
Copy link

codecov bot commented Sep 16, 2021

Codecov Report

Merging #21 (5a5df1a) into master (c1d26c9) will increase coverage by 4.31%.
The diff coverage is 89.79%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
+ Coverage   75.98%   80.29%   +4.31%     
==========================================
  Files          12       12              
  Lines        1374     1299      -75     
==========================================
- Hits         1044     1043       -1     
+ Misses        330      256      -74     
Flag Coverage Δ
unittests 80.29% <89.79%> (+4.31%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/atomicsutils.jl 100.00% <ø> (ø)
src/dict.jl 84.49% <89.76%> (+16.05%) ⬆️
src/utils.jl 71.81% <100.00%> (+2.95%) ⬆️
src/UnsafeAtomics.jl 60.00% <0.00%> (-13.34%) ⬇️
src/stack.jl 89.28% <0.00%> (-7.15%) ⬇️
src/lcrq.jl 75.58% <0.00%> (-4.07%) ⬇️
src/msqueue.jl 85.41% <0.00%> (-2.09%) ⬇️
src/dlcrq.jl 73.39% <0.00%> (-1.53%) ⬇️
src/workstealing.jl 92.38% <0.00%> (-0.96%) ⬇️
src/ConcurrentCollections.jl 100.00% <0.00%> (ø)
... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update c1d26c9...5a5df1a. Read the comment docs.

@tkf tkf changed the title Fix dict Reimplement ConcurrentDict using proper language API Sep 16, 2021
@tkf tkf enabled auto-merge (squash) September 16, 2021 07:03
@tkf tkf merged commit 636883b into master Sep 16, 2021
@tkf tkf deleted the dict branch September 16, 2021 07:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant