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
Oga
Search
Yorick Peterse
September 12, 2014
Programming
3
190
Oga
Lightning talk at Baruco 2014
Yorick Peterse
September 12, 2014
Tweet
Share
More Decks by Yorick Peterse
See All by Yorick Peterse
Garbage Collection Crash Course
yorickpeterse
1
360
Making GitLab Faster
yorickpeterse
2
450
Rubinius & The Eternal Yak
yorickpeterse
1
250
Parsing for Humans
yorickpeterse
2
88
Other Decks in Programming
See All in Programming
【re:Growth 2024】 Aurora DSQL をちゃんと話します!
maroon1st
0
800
Recoilを剥がしている話
kirik
5
7.2k
PHPで作るWebSocketサーバー ~リアクティブなアプリケーションを知るために~ / WebSocket Server in PHP - To know reactive applications
seike460
PRO
2
650
Fibonacci Function Gallery - Part 1
philipschwarz
PRO
0
220
KMP와 kotlinx.rpc로 서버와 클라이언트 동기화
kwakeuijin
0
180
Androidアプリのモジュール分割における:x:commonを考える
okuzawats
1
190
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
330
return文におけるstd::moveについて
onihusube
1
1.3k
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
Spatial Rendering for Apple Vision Pro
warrenm
0
150
ChatGPT とつくる PHP で OS 実装
memory1994
PRO
2
130
tidymodelsによるtidyな生存時間解析 / Japan.R2024
dropout009
1
810
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
244
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
266
13k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Navigating Team Friction
lara
183
15k
Faster Mobile Websites
deanohume
305
30k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
29
910
Optimizing for Happiness
mojombo
376
70k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
251
21k
Automating Front-end Workflow
addyosmani
1366
200k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.9k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Music & Morning Musume
bryan
46
6.2k
Transcript
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