Skip to content

Ractor shareable results#299

Draft
byroot wants to merge 1 commit into
trilogy-libraries:mainfrom
byroot:shareable
Draft

Ractor shareable results#299
byroot wants to merge 1 commit into
trilogy-libraries:mainfrom
byroot:shareable

Conversation

@byroot

@byroot byroot commented Jun 24, 2026

Copy link
Copy Markdown
Collaborator

Requires a new Ruby feature: https://bugs.ruby-lang.org/issues/22128

ruby 4.1.0dev (2026-06-24T13:17:28Z expose-ractor-set-.. f9d7dd50cd) +PRISM [arm64-darwin25]
Warming up --------------------------------------
            baseline    42.000 i/100ms
           shareable    66.000 i/100ms
Calculating -------------------------------------
            baseline    220.024 (±43.2%) i/s    (4.54 ms/i) -      1.134k in   5.153976s
           shareable    677.487 (± 2.4%) i/s    (1.48 ms/i) -      3.432k in   5.065782s

Comparison:
 baseline:      220.0 i/s
shareable:      677.5 i/s - 3.08x  faster

Requires a new Ruby feature: https://bugs.ruby-lang.org/issues/22128

```
ruby 4.1.0dev (2026-06-24T13:17:28Z expose-ractor-set-.. f9d7dd50cd) +PRISM [arm64-darwin25]
Warming up --------------------------------------
            baseline    42.000 i/100ms
           shareable    66.000 i/100ms
Calculating -------------------------------------
            baseline    220.024 (±43.2%) i/s    (4.54 ms/i) -      1.134k in   5.153976s
           shareable    677.487 (± 2.4%) i/s    (1.48 ms/i) -      3.432k in   5.065782s

Comparison:
 baseline:      220.0 i/s
shareable:      677.5 i/s - 3.08x  faster
```
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