Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ruby Lugdunum 2012: Message in a Bottle
Search
Konstantin Haase
June 23, 2012
Technology
640
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ruby Lugdunum 2012: Message in a Bottle
Konstantin Haase
June 23, 2012
Transcript
57 slides
MESSAGE IN A BOTTLE Konstantin Haase Ruby Lugdunum June 23,
2012
@konstantinhaase (I’m sorry about that) rkh on github
Sinatra Rack, Tilt, Rubinius, ...
None
None
None
None
None
None
Ruby 1.8 is slow because it's interpreted.
Surprise! Ruby 1.9 is interpreted, too.
THANKS
Ruby
Internals
Performance
None
RubyMotion
WHAT WE’LL LOOK INTO MRI: method dispatch and execution Rubinius:
inline caches and JIT JRuby: invokedynamic
None
THEY JUST LOVE BYTECODE
None
MRI
Rubinius
JRuby (JVM 1.6)
None
Source Code Parser Parse Tree Interpreter Bytecode Compiler Bytecode Interpreter
JIT Machine Code CPU VM
THE PLAN Find Method Execute Method
Performance
HOW TO SPEED UP? Find Method Faster Execute Method Faster
FIND FASTER Inline Cache (aka Call/ Send Site Cache) Lookup
Cache Inlining
EXECUTE FASTER Reduce operations Just-in-time compilation Speed up search
None
rb_method_entry rb_method_entry_without_cache search_method
None
None
None
None
None
None
None
None
None
None
None
None
None
SPECIALIZED METHODS cached bytecode code with breakpoints specialized for arguments
JITed code
None
None
None
None
None
None
None
Process invokedynamic JVM method bootstrap guard fallback
None
THANKS
More Decks by Konstantin Haase
See All by Konstantin Haase
RubyConf Philippines 2017: Magenta is a Lie
rkh
0
250
How We Replaced Salary Negotiations with a Sinatra App
rkh
17
4.4k
HTTP (RubyMonsters Edition)
rkh
5
1.3k
GCRC 2015: Abstract Thoughts on Abstract Things
rkh
1
410
Frozen Rails: Magenta - The Art Of Abstraction
rkh
3
360
RedDotRubyConf 2014: Magenta is a Lie - and other tales of abstraction
rkh
0
1k
Ancient City Ruby: Hack me, if you can!
rkh
2
490
Boston I/O: Continuous Integration
rkh
3
360
Steel City Ruby: Architecting Chaos
rkh
4
1k
Other Decks in Technology
See All in Technology
2026-11-11 Tamachi.sre#7 PaCにインフラリソースの命を救われました。 / PaC saves the infra resource life
masasuzu
1
180
Agent Harnessはどう作る?事例から学ぶAI Agentの設計思想
sergicalsix
0
310
AI時代の組織作り:チーム開発から「個人×AI」への移行と、持続可能な「開発資本」の築き方
ham0215
3
840
常時稼働エージェントの作り方(Claude公式ブログを資料化)
minorun365
PRO
7
13k
DevOps Agentにあらゆるセキュリティインシデントのトリアージを任せた件
jirtosterone
1
150
The Author Pays
hiccupps
0
220
Gifu WordPress Meetup #200 に向けて、私たちには何ができるだろうか?/ 2026-11-07 Gifu WordPress Meetup
torounit
0
310
Go初心者のクラウドエンジニアが、デプロイを通して旨味を知っていく話
ryudai
1
210
BALLAS Technology Deck
ballas_inc
0
620
_マネジメントする人される人ナイト_2026__良いチームを作っていきたい_お気持ち_.pdf
xkxaxkx
0
490
属人化したISMS運用をGitHubとAIで仕組み化した1年間の記録
sioncojp
4
2.6k
内製アプリとClaudeスキルのセキュリティチェック、 Backlogの課題で回しています。
ayaka_egaaa
0
190
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
From π to Pie charts
rasagy
1
450
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
620
The browser strikes back
jonoalderson
0
1.9k
The Language of Interfaces
destraynor
162
27k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
630
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
560
Rebuilding a faster, lazier Slack
samanthasiow
85
9.8k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
37
6.7k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
560
How to Grow Your eCommerce with AI & Automation
katarinadahlin
PRO
2
350
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
12
1.4k