Hi, I'm trying to run another benchmarking software from PTS, parse its output and report it as a result in PTS.

If my results were dependent on test arguments, I could use

<ResultKey>PTS_USER_SET_ARGUMENTS</ResultKey> like in CompileBench or

<MatchToTestArguments>#WRITE</MatchToTestArguments> like in IOZone.

My current solution is a results parser section like this

<ResultsParser>

<AppendToArgumentsDescription>Integer Math (MOps./Sec.)</AppendToArgumentsDescription>

<LineHint>This Computer</LineHint>

<OutputTemplate>This Computer #_RESULT_# 7008.4 29.1 329.8 12359.7 1740.1 691.8 7416.2 1735.5 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 9377.4 N/A N/A N/A N/A 2789.1</OutputTemplate>

</ResultsParser>

<ResultsParser>

<AppendToArgumentsDescription>Floating Point Math (MOps./Sec.)</AppendToArgumentsDescription>

<LineHint>This Computer</LineHint>

<OutputTemplate>This Computer 16312.9 #_RESULT_# 29.1 329.8 12359.7 1740.1 691.8 7416.2 1735.5 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 9377.4 N/A N/A N/A N/A 2789.1</OutputTemplate>

</ResultsParser>

and so on.

This works fine for HTML test output, when I run

phoronix-test-suite.bat result-file-to-csv result > myoutfile.csv , the output I get is

"local/performancetest-9 - ",Score,,6279.20

" - ",Score,,2613.90

" - ",Score,,5

" - ",Score,,3.30

and so on.

The csv formatter seems to discard the Arguments description, making my csv unusable.

Without supplying my results as arguments - since they are not actually user selectable, I would like to my csv output to be

"local/performancetest-9 - Integer Math ",MOps./Sec.,,6279.20

" - Floating Point Math",MOps./Sec.,,2613.90

etc.

I did not find any documentation or openbenchmarking tests using this approach, I am thankful for any help on this

If my results were dependent on test arguments, I could use

<ResultKey>PTS_USER_SET_ARGUMENTS</ResultKey> like in CompileBench or

<MatchToTestArguments>#WRITE</MatchToTestArguments> like in IOZone.

My current solution is a results parser section like this

<ResultsParser>

<AppendToArgumentsDescription>Integer Math (MOps./Sec.)</AppendToArgumentsDescription>

<LineHint>This Computer</LineHint>

<OutputTemplate>This Computer #_RESULT_# 7008.4 29.1 329.8 12359.7 1740.1 691.8 7416.2 1735.5 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 9377.4 N/A N/A N/A N/A 2789.1</OutputTemplate>

</ResultsParser>

<ResultsParser>

<AppendToArgumentsDescription>Floating Point Math (MOps./Sec.)</AppendToArgumentsDescription>

<LineHint>This Computer</LineHint>

<OutputTemplate>This Computer 16312.9 #_RESULT_# 29.1 329.8 12359.7 1740.1 691.8 7416.2 1735.5 N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A N/A 9377.4 N/A N/A N/A N/A 2789.1</OutputTemplate>

</ResultsParser>

and so on.

This works fine for HTML test output, when I run

phoronix-test-suite.bat result-file-to-csv result > myoutfile.csv , the output I get is

"local/performancetest-9 - ",Score,,6279.20

" - ",Score,,2613.90

" - ",Score,,5

" - ",Score,,3.30

and so on.

The csv formatter seems to discard the Arguments description, making my csv unusable.

Without supplying my results as arguments - since they are not actually user selectable, I would like to my csv output to be

"local/performancetest-9 - Integer Math ",MOps./Sec.,,6279.20

" - Floating Point Math",MOps./Sec.,,2613.90

etc.

I did not find any documentation or openbenchmarking tests using this approach, I am thankful for any help on this

## Comment