Thread (13 messages) 13 messages, 3 authors, 2017-12-14

Re: [PATCH 3/8] perf/aggregate: implement codespeed JSON output

flat view

From: Eric Sunshine <hidden>
Date: 2017-12-13 18:25:20

On Wed, Dec 13, 2017 at 10:13 AM, Christian Couder
[off-list ref] wrote:
quoted hunk ↗ jump to hunk
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 <redacted>
---
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help