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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
yamasaki
May 10, 2025
Programming
0
52
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
なるべく楽してバックエンドに型をつけたい!(楽とは言ってない)
hibiki_cube
0
140
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
2.4k
副作用をどこに置くか問題:オブジェクト指向で整理する設計判断ツリー
koxya
1
600
AI Agent Tool のためのバックエンドアーキテクチャを考える #encraft
izumin5210
6
1.8k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
「ブロックテーマでは再現できない」は本当か?
inc2734
0
960
OSSとなったswift-buildで Xcodeのビルドを差し替えられるため 自分でXcodeを直せる時代になっている ダイアモンド問題編
yimajo
3
610
CSC307 Lecture 05
javiergs
PRO
0
500
Package Management Learnings from Homebrew
mikemcquaid
0
220
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
組織で育むオブザーバビリティ
ryota_hnk
0
170
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
690
Featured
See All Featured
Digital Projects Gone Horribly Wrong (And the UX Pros Who Still Save the Day) - Dean Schuster
uxyall
0
330
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
0
63
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
1
49
Accessibility Awareness
sabderemane
0
51
Efficient Content Optimization with Google Search Console & Apps Script
katarinadahlin
PRO
0
320
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
75
Making the Leap to Tech Lead
cromwellryan
135
9.7k
Designing Experiences People Love
moore
144
24k
Building an army of robots
kneath
306
46k
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
300
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