URI::Fast::Benchmarks - Benchmarks comparing URI::Fast and URI
version 0.04
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::Split URI::Fast URI::Split 298507/s -- -60% URI::Fast 740741/s 148% --
Rate URI URI::Fast URI 124378/s -- -76% URI::Fast 510204/s 310% --
Rate URI URI::Fast URI 75758/s -- -79% URI::Fast 357143/s 371% --
Rate URI URI::Fast URI 51151/s -- -80% URI::Fast 256410/s 401% --
Rate URI URI::Fast URI 66445/s -- -60% URI::Fast 165289/s 149% --
Rate URI URI::Fast URI 41237/s -- -63% URI::Fast 111111/s 169% --
Rate URI/@ URI/$ URI/@ 59172/s -- -19% URI/$ 73260/s 24% -- URI::Fast/@ 227273/s 284% 210% URI::Fast/$ 363636/s 515% 396%
Rate URI URI::Fast/@ URI 67797/s -- -76% URI::Fast/@ 285714/s 321% -- URI::Fast/$ 322581/s 376% 13%
Rate URI URI::Fast URI 77821/s -- -56% URI::Fast 178571/s 129% --
Rate URI URI::Fast URI 51282/s -- -64% URI::Fast 140845/s 175% --
Rate URI URI::Fast URI 91743/s -- -67% URI::Fast 277778/s 203% --
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.