App-BencherUtils
view release on metacpan or search on metacpan
script/cleanup-old-bencher-results view on Meta::CPAN
#!perl
# Note: This script is a CLI for Riap function /App/BencherUtils/cleanup_old_bencher_results
# and generated automatically using Perinci::CmdLine::Gen version 0.501
use 5.010001;
use strict;
use warnings;
use Log::ger;
use Perinci::CmdLine::Any;
our $AUTHORITY = 'cpan:PERLANCAR'; # AUTHORITY
our $DATE = '2022-08-24'; # DATE
our $DIST = 'App-BencherUtils'; # DIST
our $VERSION = '0.245'; # VERSION
my $cmdline = Perinci::CmdLine::Any->new(
url => "/App/BencherUtils/cleanup_old_bencher_results",
program_name => "cleanup-old-bencher-results",
log => 1,
config_filename => ["bencher.conf", "cleanup-old-bencher-results.conf"],
);
$cmdline->run;
# ABSTRACT: Delete old results
# PODNAME: cleanup-old-bencher-results
__END__
=pod
=encoding UTF-8
=head1 NAME
cleanup-old-bencher-results - Delete old results
=head1 VERSION
This document describes version 0.245 of cleanup-old-bencher-results (from Perl distribution App-BencherUtils), released on 2022-08-24.
=head1 SYNOPSIS
B<cleanup-old-bencher-results> [B<--config-path>=I<path>|B<-c>|B<--no-config>|B<-C>] [B<--config-profile>=I<profile>|B<-P>] [B<--debug>|B<--log-level>=I<level>|B<--quiet>|B<--trace>|B<--verbose>] [B<--detail>|B<-l>|B<--no-detail>|B<--nodetail>] [B<--...
=head1 DESCRIPTION
By default it will only keep 1 latest result for each scenario for the same CPU
and the same module versions.
You can use C<--dry-run> first to see which files would be deleted without
actually deleting them.
=head1 OPTIONS
C<*> marks required options.
=head2 Main options
=over
=item B<--detail>, B<-l>
=item B<--num-keep>=I<s>
Number of old results to keep.
Default value:
0
=item B<--query-json>=I<s>
See C<--query>.
Can also be specified as the 1st command-line argument and onwards.
=item B<--query>=I<s@>
Can also be specified as the 1st command-line argument and onwards.
Can be specified multiple times.
=item B<--result-dir>=I<s>*
Directory to store results files in.
=back
=head2 Configuration options
=over
=item B<--config-path>=I<s>, B<-c>
Set path to configuration file.
Can actually be specified multiple times to instruct application to read from
multiple configuration files (and merge them).
( run in 0.866 second using v1.01-cache-2.11-cpan-8f98c5d2c55 )