Permalink
Browse files

fixed Makefile.PL .thanks to andy ! :)

  • Loading branch information...
1 parent e7f2d25 commit abc1fcd58c74340047cf79efb4960b4221ca02fb @shafiev committed Jun 22, 2010
Showing with 19 additions and 9 deletions.
  1. +2 −0 Changes
  2. +2 −0 Makefile.PL
  3. +2 −1 README
  4. +2 −2 benchmark.pl
  5. +11 −6 lib/AnyEvent/HTTPBenchmark.pm
View
2 Changes
@@ -1,3 +1,5 @@
+0.08
+ -more help
0.07
-adding the missing benchmark.pl
-rechange the verboser flag to -verbose
View
2 Makefile.PL
@@ -13,6 +13,8 @@ WriteMakefile(
PL_FILES => {},
PREREQ_PM => {
'Test::More' => 0,
+ 'AnyEvent::HTTP' => 1.45,
+ 'common::sense' => 3.0,
},
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'AnyEvent-HTTPBenchmark-*' },
View
3 README
@@ -1,6 +1,6 @@
AnyEvent-HTTPBenchmark
-AnyEvent-HTTPBenchmark is tool to make benchmark good and easy
+AnyEvent-HTTPBenchmark is tool and library to make benchmarking good and easy
INSTALLATION
@@ -32,6 +32,7 @@ You can also look for information at:
Search CPAN
http://search.cpan.org/dist/AnyEvent-HTTPBenchmark/
+and also look at git repositary http://github.com/shafiev/AnyEvent-HTTPBenchmark
LICENSE AND COPYRIGHT
View
4 benchmark.pl
@@ -14,7 +14,7 @@
my $method = 'GET'; #http method
my $proxy; # proxy server
my $max_recurse = 10; # the default recurse number;
-my $useragent = 'Mozilla/5.0 (compatible; U; AnyEvent::HTTPBenchmark/0.07; +http://github.com/shafiev/AnyEvent-HTTPBenchmark)';
+my $useragent = 'Mozilla/5.0 (compatible; U; AnyEvent::HTTPBenchmark/0.08; +http://github.com/shafiev/AnyEvent-HTTPBenchmark)';
#arrays
my @reqs_time; # the time of requests
@@ -83,7 +83,7 @@ sub parse_command_line {
);
if ($concurency > $count) {
- #the mini hack to prevoid stupid cases ;)
+ #the mini hack to avoid stupid cases ;)
$concurency = $count;
}
View
17 lib/AnyEvent/HTTPBenchmark.pm
@@ -5,15 +5,15 @@ use strict;
=head1 NAME
-AnyEvent::HTTPBenchmark - The tool to make http benchmarking good and easy!
+AnyEvent::HTTPBenchmark - The tool and library to make http benchmarking good and easy!
=head1 VERSION
-Version 0.07
+Version 0.08
=cut
-our $VERSION = '0.07';
+our $VERSION = '0.08';
=head1 SYNOPSIS
@@ -23,16 +23,21 @@ you want make some non-traditional test they are not good decision.This module t
Currently implemented just test utility , not a library .Be patient ;)
- benchmark.pl --url http://example.com -n 100 -c 10 -verbose
+ benchmark.pl --url http://example.com -n 100 -c 10 -verbose 1
+ #show each connection
+ benchmark.pl --url http://example.com -n 100 -c 10
+ #makes the silent test
+ benchmark.pl --url http://example.com -n 100 -c 10 -verbose 2
+ #more details - show the responce
=head1 EXPORT
Currently no export functions are implemented.
=head1 SUBROUTINES/METHODS
-=head2 function1
-
+=head2 make_request
+not implemented
=cut
sub make_request {

0 comments on commit abc1fcd

Please sign in to comment.