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
90
Other Decks in Programming
See All in Programming
AWS re:Invent 2024個人的まとめ
satoshi256kbyte
0
140
定理証明プラットフォーム lapisla.net
abap34
1
600
SpringBoot3.4の構造化ログ #kanjava
irof
1
180
AWSマネコンに複数のアカウントで入れるようになりました
yuhta28
2
140
DevinとCursorから学ぶAIエージェントメモリーの設計とMoatの考え方
itarutomy
1
450
Swiftコンパイラ超入門+async関数の仕組み
shiz
0
190
AHC041解説
terryu16
0
510
Fixstars高速化コンテスト2024準優勝解法
eijirou
0
190
ペアーズでの、Langfuseを中心とした評価ドリブンなリリースサイクルのご紹介
fukubaka0825
1
160
“あなた” の開発を支援する AI エージェント Bedrock Engineer / introducing-bedrock-engineer
gawa
9
1k
Vue.jsでiOSアプリを作る方法
hal_spidernight
0
110
Immutable ActiveRecord
megane42
0
110
Featured
See All Featured
Dealing with People You Can't Stand - Big Design 2015
cassininazir
365
25k
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
226
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
3
370
KATA
mclloyd
29
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
30
2.1k
Speed Design
sergeychernyshev
25
750
The Straight Up "How To Draw Better" Workshop
denniskardys
232
140k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
33
2k
The Art of Programming - Codeland 2020
erikaheidi
53
13k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Side Projects
sachag
452
42k
For a Future-Friendly Web
brad_frost
176
9.5k
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