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

Reduce locking in the handle cache #2256

Merged
merged 1 commit into from
Jan 30, 2024
Merged

Reduce locking in the handle cache #2256

merged 1 commit into from
Jan 30, 2024

Conversation

maleadt
Copy link
Member

@maleadt maleadt commented Jan 30, 2024

Also don't call the GC, it may cause trashing when using many short-lived tasks.

cc @kshyatt

Reduce the size of the critical section,
and don't call the GC if we didn't find
a handle.
@maleadt maleadt added enhancement New feature or request performance How fast can we go? labels Jan 30, 2024
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

Attention: 2 lines in your changes are missing coverage. Please review.

Comparison is base (1ea0a8b) 71.34% compared to head (1e94a1a) 71.33%.

Files Patch % Lines
lib/utils/cache.jl 89.47% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2256      +/-   ##
==========================================
- Coverage   71.34%   71.33%   -0.01%     
==========================================
  Files         155      155              
  Lines       14858    14859       +1     
==========================================
  Hits        10600    10600              
- Misses       4258     4259       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maleadt maleadt merged commit 4537bc0 into master Jan 30, 2024
1 check passed
@maleadt maleadt deleted the tb/handlecache branch January 30, 2024 17:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request performance How fast can we go?
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant