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

Ractor support #471

Merged
merged 6 commits into from
Dec 23, 2020
Merged

Ractor support #471

merged 6 commits into from
Dec 23, 2020

Conversation

hsbt
Copy link
Member

@hsbt hsbt commented Dec 23, 2020

No description provided.

marcandre and others added 6 commits December 23, 2020 18:35
Improves Ractor-readiness.
Config is Ractor-local.

Benchmarking reveals that using `Ractor.local_storage` for storing cache
is similar to accessing a constant (~15% slower).
Using `compare_by_identity` gives a 4x performance boost on cache hits.
Benchmark in fastruby/fast-ruby#189
  Because ruby/psych still uses minitest. minitest didn't support
  assert_ractor provided by test suite of ruby/ruby repo.
@hsbt hsbt merged commit f150e59 into master Dec 23, 2020
@hsbt hsbt deleted the ractor branch December 23, 2020 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants