Skip to content

[preview] use chicory-redline in java wasm#4071

Draft
andreaTP wants to merge 1 commit intoruby:mainfrom
andreaTP:chicory-redline
Draft

[preview] use chicory-redline in java wasm#4071
andreaTP wants to merge 1 commit intoruby:mainfrom
andreaTP:chicory-redline

Conversation

@andreaTP
Copy link
Copy Markdown
Contributor

@andreaTP andreaTP commented Apr 8, 2026

This project was one of the biggest use-cases I attempted to tackle with the effort behind chicory-redline.

On my machine I have a great perf improvement, the integration should be safe in the sense that it gracefully fallback to Panama on Java 25+, jffi on Java 11+, pure chicory bytecode on unsupported architectures.

Happy to hear any feedback!

cc. @headius @enebo

@andreaTP
Copy link
Copy Markdown
Contributor Author

andreaTP commented Apr 8, 2026

Perf change:
on main: https://github.com/ruby/prism/actions/runs/23852645959/job/69536791724#step:9:78

Elapsed: 298
Elapsed: 272
Elapsed: 255
Elapsed: 242
Elapsed: 239
Elapsed: 224
Elapsed: 232
Elapsed: 226
Elapsed: 221

on this branch: https://github.com/ruby/prism/actions/runs/24157118380/job/70498905259?pr=4071#step:9:80

Elapsed: 25
Elapsed: 27
Elapsed: 24
Elapsed: 20
Elapsed: 24
Elapsed: 19
Elapsed: 22
Elapsed: 18
Elapsed: 19

@headius
Copy link
Copy Markdown
Contributor

headius commented Apr 9, 2026

This is wild. Thank you for this crazy idea!

@Earlopain Earlopain marked this pull request as ready for review April 9, 2026 05:42
@Earlopain Earlopain marked this pull request as draft April 9, 2026 05:43
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.

2 participants