line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Benchmark::Perl::CoreHashes;
|
2
|
|
|
|
|
|
|
|
3
|
1
|
|
|
1
|
|
58472
|
use strict;
|
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
44
|
|
4
|
1
|
|
|
1
|
|
5
|
use warnings;
|
|
1
|
|
|
|
|
2
|
|
|
1
|
|
|
|
|
311
|
|
5
|
|
|
|
|
|
|
|
6
|
|
|
|
|
|
|
require Exporter;
|
7
|
|
|
|
|
|
|
|
8
|
|
|
|
|
|
|
our @ISA = qw(Exporter);
|
9
|
|
|
|
|
|
|
our %EXPORT_TAGS = ( 'all' => [ qw(
|
10
|
|
|
|
|
|
|
) ] );
|
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
our @EXPORT_OK = ( @{ $EXPORT_TAGS{'all'} } );
|
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
our @EXPORT = qw(
|
15
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_SIPHASH
|
16
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_SDBM
|
17
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_DJB2
|
18
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_SUPERFAST
|
19
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_MURMUR3
|
20
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_ONE_AT_A_TIME
|
21
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_ONE_AT_A_TIME_HARD
|
22
|
|
|
|
|
|
|
run_PERL_HASH_FUNC_ONE_AT_A_TIME_OLD
|
23
|
|
|
|
|
|
|
);
|
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
our $VERSION = '0.02';
|
26
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
require XSLoader;
|
28
|
|
|
|
|
|
|
XSLoader::load('Benchmark::Perl::CoreHashes', $VERSION);
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
# Preloaded methods go here.
|
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
1;
|
33
|
|
|
|
|
|
|
__END__
|