Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

change sort to sorting integer

  • Loading branch information...
commit ce36402517db7599d7f7b469077ba9b4222ac2cf 1 parent 69cbce3
ivanoff authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  benchmark.pl
View
2  benchmark.pl
@@ -178,7 +178,7 @@ sub end_bench {
print 'Requests per second: ' . sprintf( "%.2f", $count / $overall_time ) . "\n";
#sort by time
- @reqs_time = sort (@reqs_time);
+ @reqs_time = sort {$a <=> $b} (@reqs_time);
for my $i ( 0 .. scalar(@reqs_time) ) {
Please sign in to comment.
Something went wrong with that request. Please try again.