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
76
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
YJITのBenchmarksに貢献した話
深掘り!RubyKaigi 2025アフターセッション
https://tenshoku-draft.connpass.com/event/352614/
yamasaki
May 10, 2025
More Decks by yamasaki
See All by yamasaki
contributing-to-spinel
sacckey
0
730
Other Decks in Programming
See All in Programming
為什麼你並不需要ViewModel / No, you don't need a ViewModel
lovee
1
500
自動化したのに回らないテスト運用の壁ーAI時代の品質責任と生産性
mfunaki
1
140
KotlinConf Extended South Korea 2026 Keynote
l2hyunwoo
0
110
ソフトウェア設計に溶けるインフラ ― AWS CDK のインフラ認識論
konokenj
3
800
メールのエイリアス機能を履き違えない
isshinfunada
0
240
S3 を使うアプリケーションをローカル完結で動かすことに全力を注いでみた / Running S3 Apps Offline
contour_gara
0
510
仕様書を書く前にハーネスを作る - Agent Native開発は「探索を速く、判定を固く」
gotalab555
4
1.7k
わからない話を追いかけたら、プログラミング言語を作る側にいた
ydah
3
520
SlackアプリとLambdaの 連携を構築した話
pawn_4_s
1
120
OpenSpecのproposalにbrainstormingを持たせてみた
tigertora7571
1
240
ここ半年くらいでAIに作らせたR用ツール
eitsupi
0
380
Laravel Boostに学ぶ、AIにPHPを書かせる技術 〜OSSの実装から蒸留するエージェント制御の王道〜
kentaroutakeda
3
710
Featured
See All Featured
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
710
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
940
The Pragmatic Product Professional
lauravandoore
37
7.4k
Balancing Empowerment & Direction
lara
6
1.2k
The #1 spot is gone: here's how to win anyway
tamaranovitovic
3
1.1k
Fireside Chat
paigeccino
42
4k
Understanding Cognitive Biases in Performance Measurement
bluesmoon
32
3k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.8k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
630
Designing for Timeless Needs
cassininazir
1
440
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
3
1.1k
Crafting Experiences
bethany
1
250
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