mirror of
https://github.com/status-im/nimbus-benchmarking.git
synced 2025-01-12 12:04:15 +00:00
fix regex
This commit is contained in:
parent
00e0188b80
commit
79f851aa0e
@ -63,7 +63,7 @@ if ($bench_type eq 'block_sim') {
|
|||||||
while (<$input_handle>) {
|
while (<$input_handle>) {
|
||||||
# Strip both ends. Aren't hidden loop variables and default operator
|
# Strip both ends. Aren't hidden loop variables and default operator
|
||||||
# arguments great?
|
# arguments great?
|
||||||
s/^\s+|\s+$//;
|
s/^\s+|\s+$//g;
|
||||||
|
|
||||||
$start_processing = 1 if /^Done!$/;
|
$start_processing = 1 if /^Done!$/;
|
||||||
next if not $start_processing;
|
next if not $start_processing;
|
||||||
@ -111,7 +111,7 @@ if ($bench_type eq 'block_sim') {
|
|||||||
my $epoch_length = 0;
|
my $epoch_length = 0;
|
||||||
while (<$input_handle>) {
|
while (<$input_handle>) {
|
||||||
# Strip both ends.
|
# Strip both ends.
|
||||||
s/^\s+|\s+$//;
|
s/^\s+|\s+$//g;
|
||||||
|
|
||||||
$start_processing = 1 if /^:Done!$/;
|
$start_processing = 1 if /^:Done!$/;
|
||||||
next if not $start_processing;
|
next if not $start_processing;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user