In the performance report artefact can I display the change as %?

,

I have a custom job that outputs a performance report.

Is there any way I can make the performance report change on merge requests be displayed as a % rather than as a numerical diff?

Example performance report:
[
{
“subject”: “Benchmark1”,
“metrics”: [
{
“name”: “ns/op”,
“value”: 496781345,
“desiredSize”: “smaller”
},
]
}
]

Output:
ns/op: **496781345** (+248390672) in Benchmark1

Desired output along the lines of:
ns/op: **496781345** (+50%) in Benchmark1

If possible defining a degradation threshold in terms of % would also be nice

Thanks for creating the feature proposal :slight_smile: