Namespaced the profile directories.
This commit is contained in:
parent
61d553be34
commit
e75cd0ede8
|
@ -11,8 +11,8 @@ lib/liboga.*
|
|||
|
||||
benchmark/fixtures/big.xml
|
||||
|
||||
profile/samples/*.txt
|
||||
profile/samples/*/*.txt
|
||||
profile/samples/xml/*.txt
|
||||
profile/samples/xml/*/*.txt
|
||||
*.so
|
||||
tmp
|
||||
|
||||
|
|
|
@ -1,7 +0,0 @@
|
|||
require_relative '../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('lexer/big_xml') do
|
||||
Oga::XML::Lexer.new(xml).advance { }
|
||||
end
|
|
@ -1,5 +0,0 @@
|
|||
require_relative '../profile_helper'
|
||||
|
||||
profile_memory('lexer/big_xml') do
|
||||
Oga::XML::Lexer.new(big_xml_file).advance { }
|
||||
end
|
|
@ -1,7 +0,0 @@
|
|||
require_relative '../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('parser/big_xml') do
|
||||
Oga::XML::Parser.new(xml).parse
|
||||
end
|
|
@ -1,8 +0,0 @@
|
|||
require_relative '../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('pull_parser/big_xml') do
|
||||
Oga::XML::PullParser.new(xml).parse { }
|
||||
end
|
||||
|
|
@ -0,0 +1,7 @@
|
|||
require_relative '../../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('xml/lexer/big_xml') do
|
||||
Oga::XML::Lexer.new(xml).advance { }
|
||||
end
|
|
@ -0,0 +1,5 @@
|
|||
require_relative '../../profile_helper'
|
||||
|
||||
profile_memory('xml/lexer/big_xml') do
|
||||
Oga::XML::Lexer.new(big_xml_file).advance { }
|
||||
end
|
|
@ -0,0 +1,7 @@
|
|||
require_relative '../../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('xml/parser/big_xml') do
|
||||
Oga::XML::Parser.new(xml).parse
|
||||
end
|
|
@ -0,0 +1,8 @@
|
|||
require_relative '../../profile_helper'
|
||||
|
||||
xml = read_big_xml
|
||||
|
||||
profile_memory('xml/pull_parser/big_xml') do
|
||||
Oga::XML::PullParser.new(xml).parse { }
|
||||
end
|
||||
|
Loading…
Reference in New Issue