You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Maksim Kviatkouski (JIRA)" <ji...@apache.org> on 2018/04/03 05:41:00 UTC

[jira] [Commented] (OAK-6209) The benchmark runner should produce machine-friendly output

    [ https://issues.apache.org/jira/browse/OAK-6209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16423501#comment-16423501 ] 

Maksim Kviatkouski commented on OAK-6209:
-----------------------------------------

Hi Franceso, I'm working on this ticket and have a question. Some tests print some additional information during execution that is "outside" of table of stats. For example ConcurrentHasPermissionTest + BundlingNodeTest machine-readable output looks like this at the moment:

Import deep tree: 5477
All paths: 123545
ConcurrentHasPermissionTest,Oak-MemoryNS,1,0,0,0,1,6,164346
ConcurrentHasPermissionTest,Oak-MemoryNS,2,0,0,1,2,10,124902
BundlingNodeTest,Oak-MemoryNS,1,68,86,220,404,818,258,147725,5670,3780,#nt:resource,ALL
BundlingNodeTest,Oak-MemoryNS,2,89,134,264,469,642,435,284549,8410,8130,#nt:resource,ALL
bundlingEnabled: false, oakResourceEnabled: false, readerEnabled: true, bundlingMode: ALL

Should I suppress that extra output to help with output processing automation?

> The benchmark runner should produce machine-friendly output
> -----------------------------------------------------------
>
>                 Key: OAK-6209
>                 URL: https://issues.apache.org/jira/browse/OAK-6209
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: benchmarks
>            Reporter: Francesco Mari
>            Priority: Major
>
> The benchmark runner currently produce output in the following format.
> {noformat}
> Apache Jackrabbit Oak 1.8-SNAPSHOT
> # LoginTest                        C     min     10%     50%     90%     max       N 
> Oak-Segment-Tar                    1     472     494     522     552     631     115
> # LoginLogoutTest                  C     min     10%     50%     90%     max       N 
> Oak-Segment-Tar                    1     472     479     513     543     568     118
> {noformat}
> While this format is well formatted and easy to read, it's a pain to process with standard command line utilities. The benchmark runner should give the possibility to produce machine-friendly output, like the following.
> {noformat}
> LoginTest,Oak-Segment-Tar,1,472,494,522,552,631,115
> LoginLogoutTest,Oak-Segment-Tar,1,472,479,513,543,568,118
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)