NAME
URI::Fast::Benchmarks - Benchmarks comparing URI::Fast and URI
VERSION
version 0.18
BENCHMARKS
Various operations comparing URI::Fast against URI's performance. The script to recreate is included in the bench
folder of the distribution.
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.
Constructor
Rate IRI URI
IRI 14762/s -- -85%
URI 101215/s 586% --
URI::Fast 769231/s 5111% 660%
Parse scheme
Rate IRI URI
IRI 13224/s -- -85%
URI 88339/s 568% --
URI::Fast 694444/s 5151% 686%
Update scheme
Rate IRI URI
IRI 19099/s -- -64%
URI 53476/s 180% --
URI::Fast 675676/s 3438% 1164%
Parse authorization
Rate IRI URI
IRI 12658/s -- -80%
URI 63776/s 404% --
URI::Fast 675676/s 5238% 959%
Update authorization
Rate IRI URI
IRI 13113/s -- -68%
URI 41494/s 216% --
URI::Fast 581395/s 4334% 1301%
Parse path (scalar)
Rate IRI URI
IRI 12987/s -- -85%
URI 84746/s 553% --
URI::Fast 490196/s 3675% 478%
AUTHOR
Jeff Ober <sysread@fastmail.fm>
COPYRIGHT AND LICENSE
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.