!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/usr/share/doc/libjson-perl/examples/   drwxr-xr-x
Free 1.47 GB of 7.22 GB (20.41%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     bench_decode.pl (1.16 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
#!/usr/bin/perl

use strict;
use warnings;
use Benchmark qw( cmpthese timethese );

our $VERSION = '1.00';

my $wanttime = $ARGV[1] || 5;

use JSON qw( -support_by_pp -no_export ); # for JSON::PP::Boolean inheritance
use JSON::PP ();
use JSON::XS ();
use utf8;

my $pp   = JSON::PP->new->utf8;
my $xs   = JSON::XS->new->utf8;

local $/;

my $json = <>;
my $perl = JSON::XS::decode_json $json;
my $result;


printf( "JSON::PP %s\n", JSON::PP->VERSION );
printf( "JSON::XS %s\n", JSON::XS->VERSION );


print "-----------------------------------\n";
print "->decode()\n";
print "-----------------------------------\n";

$result = timethese( -$wanttime,
    {
        'JSON::PP' => sub { $pp->decode( $json ) },
        'JSON::XS' => sub { $xs->decode( $json ) },
    },
    'none'
);
cmpthese( $result );

print "-----------------------------------\n";


__END__

=pod

=head1 SYNOPSYS

  bench_decode.pl json-file
  # or
  bench_decode.pl json-file minimum-time

=head1 DESCRIPTION

L<JSON::PP> and L<JSON::XS> decoding benchmark.

=head1 AUTHOR

makamaka

=head1 LISENCE

This library is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

=cut


:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0319 ]--