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
Oga
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Yorick Peterse
September 12, 2014
Programming
220
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Oga
Lightning talk at Baruco 2014
Yorick Peterse
September 12, 2014
Transcript
5 slides
Oga XML/HTML parser written in Ruby. https://github.com/yorickpeterse/oga
• Ruby (91% per GitHub) + small, native extension •
Supports MRI, Rubinius, JRuby • Thread-safe • XML/HTML parsing • XML namespaces • XPath • CSS selectors (planned) • No system libraries (e.g. libxml2)
$ time gem install nokogiri-1.6.1.gem real 1m54.368s user 1m34.697s sys
0m7.517s
$ time gem install oga-0.1.0.gem real 0m1.205s user 0m1.053s sys
0m0.100s
$ gem install oga
More Decks by Yorick Peterse
See All by Yorick Peterse
Garbage Collection Crash Course
yorickpeterse
1
410
Making GitLab Faster
yorickpeterse
2
490
Rubinius & The Eternal Yak
yorickpeterse
1
290
Parsing for Humans
yorickpeterse
2
120
Other Decks in Programming
See All in Programming
Secure Your Coding Agent Like It’s Malware (v1.5) 🇬🇧 @Code.talks 2026
richargh
0
210
動画プレイヤーはなぜカクつくのか 〜Flutterのレンダリングとネイティブの境界を解剖する〜
naruogram
0
350
ruby/uri meets WHATWG
jinroq
0
190
imagewebp()の向こう側: WebPはなぜ JPEG・PNGより軽いのか
yuzneri
0
160
Math.sumPreciseから学ぶ、ECMAScript仕様の数値の種類
syumai
0
1.6k
느린 네트워크와 저사양 디바이스 사용자를 위한 웹뷰 로딩 시간 개선기
kmkim
1
290
読みやすい!と評判(?)の発表の準備にかける私のこだわり
shoheimitani
0
170
The Cost of the DOM
ypresto
7
3.9k
ローカルLLMの基本と近況 2611 / Local LLM basics and recent situation 2611
kishida
3
680
仕様駆動開発入門 (何を作るかを先に決めて渡す) | 目指せ Kiro マスター 05
inariku
PRO
3
270
Distance field of Julia set
kinakomoti321
0
340
AIコーディングをセッションで終わらせない: PHPライブラリ開発におけるコンテキスト承継設計
ickx
0
110
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3.1k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
Agile Leadership in an Agile Organization
kimpetersen
PRO
0
330
Web Performance Is a Journey [PerfNow 2026]
tammyeverts
3
190
Designing for humans not robots
tammielis
254
26k
Reality Check: Gamification 10 Years Later
codingconduct
0
2.4k
Ten Tips & Tricks for a 🌱 transition
stuffmc
1
300
Building a A Zero-Code AI SEO Workflow
portentint
PRO
0
860
Site-Speed That Sticks
csswizardry
13
1.6k
The Invisible Side of Design
smashingmag
301
52k
Between Models and Reality
mayunak
4
610
The SEO Collaboration Effect
kristinabergwall1
1
630