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
Rubinius Euruko 2012 Lightning talk
Search
Dirkjan Bussink
June 01, 2012
Programming
2
220
Rubinius Euruko 2012 Lightning talk
A short story about optimizing Rubinius for a web application
Dirkjan Bussink
June 01, 2012
Tweet
Share
More Decks by Dirkjan Bussink
See All by Dirkjan Bussink
Managing a widely distributed team
dbussink
1
150
Time
dbussink
0
66
The tricky truth about parallel execution and modern hardware
dbussink
0
320
The future of Ruby is faster
dbussink
3
520
Security for dummies
dbussink
1
120
The myth of dynamic language performance
dbussink
3
410
Rubinius - Tales from the trenches @ Railsclub.ru 2012
dbussink
2
200
Rubinius - Tales from the trenches @ Baruco 2012
dbussink
1
240
Rubinius Eurucamp 2012 Workshop
dbussink
2
100
Other Decks in Programming
See All in Programming
Anthropic Cookbook のおすすめレシピ
schroneko
7
940
見た目から始める生産性向上
ikumatadokoro
7
840
コーンフレークから始める モデリング会話入門
ogurotakayuki
0
370
try!Swift Tokyo 2024 参加報告 LT
akidon0000
1
220
スキーマ駆動開発による品質とスピードの両立 - 私達は何故、スキーマを書くのか
kentaroutakeda
0
170
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
130
ONE WEDGE_company_guide
1wedge_one
0
470
Tailwind CSSを本気でカスタマイズする方法
fsubal
13
5.2k
GitHub Copilotのススメ
marcy731
1
200
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
180
雑に思考を整理する技術と効能
konifar
59
29k
Ruby GitHub Packages
bkuhlmann
0
630
Featured
See All Featured
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
14
1.5k
Designing Experiences People Love
moore
136
23k
Web Components: a chance to create the future
zenorocha
305
41k
Building a Modern Day E-commerce SEO Strategy
aleyda
17
6.4k
In The Pink: A Labor of Love
frogandcode
138
21k
Writing Fast Ruby
sferik
621
60k
Robots, Beer and Maslow
schacon
PRO
155
7.9k
How GitHub (no longer) Works
holman
304
140k
Agile that works and the tools we love
rasmusluckow
325
20k
Embracing the Ebb and Flow
colly
80
4.1k
Visualization
eitanlees
136
14k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
Transcript
Rubinius Use Ruby
Dirkjan Bussink
[email protected]
20 reqs/s 750 reqs/s
Disclaimer All these numbers are just relative for this specific
test app on Rubinius. They cannot just be extrapolated to your application DO try this at home!
None
0 10 20 30 40 10 20 30 40 50
60 70 80 90 100 requests / second Concurrent clients Requests
0 7.5 15 22.5 30 50 100 150 200 250
300 350 400 450 500 requests / second Concurrent clients Requests
None
None
class Hash def find_item(key) key_hash = key.hash ... end end
0 15 30 45 60 10 20 30 40 50
60 70 80 90 100 requests / second Concurrent clients Requests
0 7.5 15 22.5 30 50 100 150 200 250
300 350 400 450 500 requests / second Concurrent clients Requests
None
None
bool ObjectMemory::refill_slab(STATE, gc::Slab& slab) { SYNC(state); Address addr = young_->allocate_for_slab(slab_size_);
... }
0 75 150 225 300 10 20 30 40 50
60 70 80 90 100 requests / second Concurrent clients Requests
0 200 400 600 800 50 100 150 200 250
300 350 400 450 500 requests / second Concurrent clients Requests
0 200 400 600 800 50 100 150 200 250
300 350 400 450 500 requests / second Concurrent clients Requests Before 2 Before 1
None