Profiling setup for the pull parser.

This commit is contained in:
Yorick Peterse committed 2014-04-29 13:50:50 +02:00
1 parent d5e59c38ac
commit a42240bc2e
3 files changed
+28

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
require_relative '../profile_helper'
xml = read_big_xml
parser = Oga::XML::PullParser.new(xml)
profile_memory('pull_parser/big_xml')
parser.parse { |node| }