On Wed, Dec 13, 2017 at 7:25 PM, Eric Sunshine <sunshine@xxxxxxxxxxxxxx> wrote: > On Wed, Dec 13, 2017 at 10:13 AM, Christian Couder > <christian.couder@xxxxxxxxx> wrote: >> Codespeed (https://github.com/tobami/codespeed/) is an open source >> project that can be used to track how some software performs over >> time. It stores performance test results in a database and can show >> nice graphs and charts on a web interface. >> >> As it can be interesting to Codespeed to see how Git performance >> evolves over time and releases, let's implement a Codespeed output >> in "perf/aggregate.perl". >> >> Signed-off-by: Christian Couder <chriscool@xxxxxxxxxxxxx> >> --- >> diff --git a/t/perf/aggregate.perl b/t/perf/aggregate.perl >> @@ -174,6 +181,63 @@ sub print_default_results { >> +sub print_codespeed_results { >> + my ($results_section) = @_; >> + >> + my $project = "Git"; >> + >> + my $executable; >> + if ($results_section eq "") { >> + $executable = `uname -o -p`; > > Option -o is not recognized on MacOS and, on at least a couple of my > Linux installations, -p returns only "unknown". > > A combination, on the other hand, which seems to work nicely on MacOS, > Linux, and BSD is: uname -s -m Ok I will take a look at this. Thanks!