Skip to content

Commit eecdb9c

Browse files
author
Ivan Kruglov
committed
uncomment needed lines in benchmark
1 parent 5337804 commit eecdb9c

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tools/benchmarks/readline_vs_sysread_vs_recv/server-generator.pl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@
2020
my $line = <$client>;
2121
chomp $line;
2222

23-
# my ($cnt, $len) = split(',', $line);
24-
# next unless $cnt || $len;
23+
my ($cnt, $len) = split(',', $line);
24+
next unless $cnt || $len;
2525

26-
# for (my $i = 1; $i <= $cnt; ++$i) {
27-
# print $client '.' x $len, "\n";
28-
# }
26+
for (my $i = 1; $i <= $cnt; ++$i) {
27+
print $client '.' x $len, "\n";
28+
}
2929
}

0 commit comments

Comments
 (0)