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
380
Making GitLab Faster
yorickpeterse
2
460
Rubinius & The Eternal Yak
yorickpeterse
1
260
Parsing for Humans
yorickpeterse
2
94
Other Decks in Programming
See All in Programming
Beyond Portability: Live Migration for Evolving WebAssembly Workloads
chikuwait
0
340
Blueskyのプラグインを作ってみた
hakkadaikon
1
500
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
16
3.9k
ASP.NETアプリケーションのモダナイズ インフラ編
tomokusaba
1
210
Rails産でないDBを Railsに引っ越すHACK - Omotesando.rb #110
lnit
1
160
FormFlow - Build Stunning Multistep Forms
yceruto
1
150
Webからモバイルへ Vue.js × Capacitor 活用事例
naokihaba
0
530
Go Modules: From Basics to Beyond / Go Modulesの基本とその先へ
kuro_kurorrr
0
110
人には人それぞれのサービス層がある
shimabox
3
660
インターフェース設計のコツとツボ
togishima
2
690
生成AIコーディングとの向き合い方、AIと共創するという考え方 / How to deal with generative AI coding and the concept of co-creating with AI
seike460
PRO
1
150
技術懸念に立ち向かい 法改正を穏便に乗り切った話
pop_cashew
0
1.3k
Featured
See All Featured
A better future with KSS
kneath
239
17k
The World Runs on Bad Software
bkeepers
PRO
68
11k
4 Signs Your Business is Dying
shpigford
184
22k
Documentation Writing (for coders)
carmenintech
71
4.9k
Building an army of robots
kneath
306
45k
Making the Leap to Tech Lead
cromwellryan
134
9.3k
GraphQLの誤解/rethinking-graphql
sonatard
71
11k
Facilitating Awesome Meetings
lara
54
6.4k
Building Flexible Design Systems
yeseniaperezcruz
328
39k
The Power of CSS Pseudo Elements
geoffreycrofte
77
5.8k
Code Review Best Practice
trishagee
68
18k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
8
650
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