From ff98b5711ae91d5cafd75764be192c0be5e592cf Mon Sep 17 00:00:00 2001 From: Sadeep Madurange Date: Wed, 29 Apr 2026 14:45:41 +0800 Subject: Compress base files, use c-style strings in benchmarks. --- bm/bm_size.pl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bm/bm_size.pl') diff --git a/bm/bm_size.pl b/bm/bm_size.pl index d21cfd6..03e499c 100644 --- a/bm/bm_size.pl +++ b/bm/bm_size.pl @@ -13,7 +13,7 @@ if (!defined $files || !defined $depth) { my $base_dir = getcwd(); my $urn_bin = abs_path(File::Spec->catfile("..", "urn")); my $seed_bin = abs_path("seed.pl"); -my $bm_repo = "bm_repo"; +my $bm_repo = "sandbox"; my %results; my @actions = qw(Status Add Commit Status(Clean)); @@ -77,7 +77,6 @@ sub run_benchmark { run_benchmark("URN"); run_benchmark("GIT"); -# --- Vertical Report Formatting --- my $out_file = "BM_REPO_SIZE_${files}_${depth}.txt"; open(my $res, '>', $out_file) or die $!; @@ -103,7 +102,7 @@ foreach my $action (@actions) { close($res); -print "\nComparison complete! Results saved to $out_file\n"; +print "\nResults saved to $out_file\n"; my $pager = $ENV{PAGER} || 'less'; system("$pager $out_file"); -- cgit v1.2.3