URI::Fast::Benchmarks - Benchmarks comparing URI::Fast and URI
version 0.23
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 a 2015 Chromebook Pixel running Gallium linux using Perl 5.26 installed with perlbrew. Earlier testing was done with a similarly equipped MacBook Pro. It is interesting to note that URI::Fast's rate is roughly the same, but URI's rate increased significantly over Perl compiled for MacOS.
Rate URI URI::Fast URI 122249/s -- -86% URI::Fast 877193/s 618% --
Rate URI URI::Fast URI 93633/s -- -84% URI::Fast 602410/s 543% --
Rate URI URI::Fast URI 52632/s -- -93% URI::Fast 714286/s 1257% --
Rate URI URI::Fast URI 72993/s -- -91% URI::Fast 769231/s 954% --
Rate URI URI::Fast URI 36657/s -- -93% URI::Fast 505051/s 1278% --
Rate URI URI::Fast URI 94877/s -- -79% URI::Fast 442478/s 366% --
Rate URI URI::Fast URI 71429/s -- -80% URI::Fast 362319/s 407% --
Rate URI URI::Fast URI 80906/s -- -87% URI::Fast 602410/s 645% --
Rate URI URI::Fast URI 90416/s -- -79% URI::Fast 427350/s 373% --
Rate URI URI::Fast URI 48828/s -- -88% URI::Fast 396825/s 713% --
Rate URI URI::Fast URI 63694/s -- -85% URI::Fast 431034/s 577% --
Rate URI URI::Fast URI 50454/s -- -85% URI::Fast 333333/s 561% --
Rate URI URI::Fast URI 50607/s -- -85% URI::Fast 337838/s 568% --
Rate URI URI::Fast URI 114943/s -- -65% URI::Fast 331126/s 188% --
Rate URI::Split URI::Fast URI::Split 549451/s -- -55% URI::Fast 1219512/s 122% --
Rate URI::FastURI::Encode::XS URI::Fast 1351351/s -- -15% URI::Encode::XS 1587302/s 17% --
Rate URI::FastURI::Encode::XS URI::Fast 751880/s -- -24% URI::Encode::XS 985222/s 31% --
Rate IRI URI::Fast IRI 17718/s -- -99% URI::Fast 1219512/s 6783% --
Rate IRI URI::Fast IRI 13947/s -- -98% URI::Fast 625000/s 4381% --
Rate IRI URI::Fast IRI 14269/s -- -97% URI::Fast 561798/s 3837% --
Rate IRI URI::Fast IRI 15309/s -- -98% URI::Fast 735294/s 4703% --
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.