URI::Fast::Benchmarks - Benchmarks comparing URI::Fast and URI
version 0.19
Various operations comparing URI::Fast against URI's performance. The script to recreate is included in the bench folder of the distribution.
bench
Tests were performed on my development machine, a 2015 MacBook Pro (2.7 GHz Intel Core i5, 8GB 1867 MHz DDR3 RAM) using Perl 5.24 installed using perlbrew.
Rate URI URI::Fast URI 103306/s -- -88% URI::Fast 847458/s 720% --
Rate URI URI::Fast URI 80645/s -- -87% URI::Fast 641026/s 695% --
Rate URI URI::Fast URI 51975/s -- -92% URI::Fast 675676/s 1200% --
Rate URI URI::Fast URI 68871/s -- -90% URI::Fast 684932/s 895% --
Rate URI URI::Fast URI 44803/s -- -93% URI::Fast 602410/s 1245% --
Rate URI URI::Fast URI 83333/s -- -83% URI::Fast 485437/s 483% --
Rate URI URI::Fast URI 59453/s -- -80% URI::Fast 303030/s 410% --
Rate URI URI::Fast URI 70522/s -- -87% URI::Fast 561798/s 697% --
Rate URI URI::Fast URI 69930/s -- -84% URI::Fast 450450/s 544% --
Rate URI URI::Fast URI 39370/s -- -90% URI::Fast 375940/s 855% --
Rate URI URI::Fast URI 52356/s -- -88% URI::Fast 431034/s 723% --
Rate URI URI::Fast URI 39463/s -- -86% URI::Fast 282486/s 616% --
Rate URI URI::Fast URI 41494/s -- -87% URI::Fast 310559/s 648% --
Rate URI URI::Fast URI 96339/s -- -68% URI::Fast 297619/s 209% --
Rate URI::Split URI::Fast URI::Split 340136/s -- -46% URI::Fast 625000/s 84% --
RateURI::Encode::XS URI::Fast URI::Encode::XS 724638/s -- -59% URI::Fast 1754386/s 142% --
Rate URI::FastURI::Encode::XS URI::Fast 816327/s -- -17% URI::Encode::XS 985222/s 21% --
Jeff Ober <sysread@fastmail.fm>
This software is copyright (c) 2018 by Jeff Ober.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install URI::Fast, copy and paste the appropriate command in to your terminal.
cpanm
cpanm URI::Fast
CPAN shell
perl -MCPAN -e shell install URI::Fast
For more information on module installation, please visit the detailed CPAN module installation guide.