Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
YJITのBenchmarksに貢献した話
Search
yamasaki
May 10, 2025
Programming
0
55
YJITのBenchmarksに貢献した話
深掘り!RubyKaigi 2025アフターセッション
https://tenshoku-draft.connpass.com/event/352614/
yamasaki
May 10, 2025
Tweet
Share
Other Decks in Programming
See All in Programming
コードレビューをしない選択 #でぃーぷらすトウキョウ
kajitack
3
1k
AWS×クラウドネイティブソフトウェア設計 / AWS x Cloud-Native Software Design
nrslib
16
3.3k
Redox OS でのネームスペース管理と chroot の実現
isanethen
0
260
DevinとClaude Code、SREの現場で使い倒してみた件
karia
1
1.1k
Migration to Signals, Signal Forms, Resource API, and NgRx Signal Store @Angular Days 03/2026 Munich
manfredsteyer
PRO
0
100
grapheme_strrev関数が採択されました(あと雑感)
youkidearitai
PRO
1
230
20260228_JAWS_Beginner_Kansai
takuyay0ne
5
590
RubyとGoでゼロから作る証券システム: 高信頼性が求められるシステムのコードの外側にある設計と運用のリアル
free_world21
0
310
nuget-server - あなたが必要だったNuGetサーバー
kekyo
PRO
0
280
Codex の「自走力」を高める
yorifuji
0
1.2k
守る「だけ」の優しいEMを抜けて、 事業とチームを両方見る視点を身につけた話
maroon8021
3
1.1k
Rで始めるML・LLM活用入門
wakamatsu_takumu
0
190
Featured
See All Featured
Groundhog Day: Seeking Process in Gaming for Health
codingconduct
0
130
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.1k
Writing Fast Ruby
sferik
630
63k
Agile that works and the tools we love
rasmusluckow
331
21k
Amusing Abliteration
ianozsvald
0
140
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Making the Leap to Tech Lead
cromwellryan
135
9.8k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
480
Faster Mobile Websites
deanohume
310
31k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
SEO Brein meetup: CTRL+C is not how to scale international SEO
lindahogenes
1
2.4k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
0
260
Transcript
YJITのBenchmarksに貢献した話
note inc. ⾃⼰紹介 Yamasaki • 2020/04⼊社 • サーバーサイドエンジニア • 個⼈開発/ピアノ/⿇雀
• sacckey 2
note inc. RubyKaigi 2025 振り返り Designed to last for next
20+ years of CRuby! 3
note inc. さっそくZJITを使ってみる % RUBY_CONFIGURE_OPTS=--enable-zjit rbenv install 3.5-dev % RUBYOPT=--enable-zjit
ruby --version ruby 3.5.0dev (2025-05-05T13:34:32Z master 3a2e56e685) +ZJIT +PRISM 4
note inc. YJITによるパフォーマンス向上 5
note inc. YJITのBenchmarks https://github.com/Shopify/yjit-bench で管理されているベンチマークプログラムの集合 https://speed.yjit.org でビジュアライズされた結果を⾒ることができる 6
note inc. 7 https://speed.yjit.org/benchmarks/bench-2025-05-08-035121.html
note inc. Ruby Boy (https://github.com/sacckey/rubyboy) Rubyで動くGame Boyのエミュレーター ruby.wasmによってブラウザでも動く https://sacckey.github.io/rubyboy/ 8
note inc. Ruby Boy実装の⾯⽩い点 • Game Boyの仕様をRubyプログラムで再現 • パフォーマンスチューニング ◦
ベンチマークプログラム • ruby.wasmを使ってブラウザ上で動かす 9
note inc. Ruby Boyのベンチマーク 10
note inc. Ruby Boyのベンチマーク結果 11
note inc. YJITのBenchmarksに使ってもらう 12
note inc. 類似の事例(Camlboy) 13 https://bench.ci.dev/ocsigen/js_of_ocaml/branch/master/benchmark/Wasm_of_ocaml?worker=autumn&ima ge=bench.Dockerfile
note inc. まとめ • Ruby BoyがYJITのベンチマークとして使われた! • ベンチマークプログラムを作って、YJIT, ZJIT使⽤時の結果を公開しよう! ◦
ベンチマークプログラムとして貢献できるかも? 14
note inc. 15 noteでは仲間を募集中です! https://note.jp/n/nc0fe1a230633 募集職種: • サーバーサイドエンジニア • 機械学習エンジニア(MLエンジニア)
• LLMエンジニア 採⽤情報
None