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
200
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
370
Making GitLab Faster
yorickpeterse
2
450
Rubinius & The Eternal Yak
yorickpeterse
1
250
Parsing for Humans
yorickpeterse
2
92
Other Decks in Programming
See All in Programming
なぜイベント駆動が必要なのか - CQRS/ESで解く複雑系システムの課題 -
j5ik2o
14
4.8k
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
7
4.2k
React 19アップデートのために必要なこと
uhyo
8
1.6k
コードを読んで理解するko build
bells17
1
110
読まないコードリーディング術
hisaju
0
110
もう少しテストを書きたいんじゃ〜 #phpstudy
o0h
PRO
20
4.3k
Visual StudioのGitHub Copilotでいろいろやってみる
tomokusaba
1
220
Expoによるアプリ開発の現在地とReact Server Componentsが切り開く未来
yukukotani
1
210
iOSでQRコード生成奮闘記
ktcryomm
2
120
ファインディLT_ポケモン対戦の定量的分析
fufufukakaka
0
950
新宿駅構内を三人称視点で探索してみる
satoshi7190
2
120
『テスト書いた方が開発が早いじゃん』を解き明かす #phpcon_nagoya
o0h
PRO
9
2.6k
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
94
13k
Unsuck your backbone
ammeep
669
57k
How STYLIGHT went responsive
nonsquared
99
5.4k
Rebuilding a faster, lazier Slack
samanthasiow
80
8.9k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
Speed Design
sergeychernyshev
27
820
Music & Morning Musume
bryan
46
6.4k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
366
25k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
10
540
We Have a Design System, Now What?
morganepeng
51
7.4k
Code Reviewing Like a Champion
maltzj
521
39k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
40
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