Created
October 9, 2015 10:28
-
-
Save zoffixznet/68c6b3bc85c70e291fd4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
zoffix@ZofMain:/tmp$ time perl -MMojo::DOM -wlE 'say Mojo::DOM->new("<foo><bar>baz</bar></foo>")->at("bar")->all_text' | |
baz | |
real 0m0.041s | |
user 0m0.032s | |
sys 0m0.008s | |
zoffix@ZofMain:/tmp$ time perl6 -MInline::Perl5 -e 'use Mojo::DOM:from<Perl5>; say Mojo::DOM.new("<foo><bar>baz</bar></foo>").at("bar").all_text' | |
baz | |
real 0m3.935s | |
user 0m3.856s | |
sys 0m0.068s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment