HONEYCOMB-288: JMH's CSV postprocessing to format accepted by Jenkin's plot plugin
[honeycomb.git] / infra / it / benchmark / pom.xml
index 54ed6e1..8f9eabc 100644 (file)
             <artifactId>honeycomb-test-model</artifactId>
             <version>${project.version}</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-csv</artifactId>
+            <version>1.4</version>
+        </dependency>
+
     </dependencies>
 
     <build>
                             </arguments>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>benchmark-post-processing</id>
+                        <phase>test</phase>
+                        <goals>
+                            <goal>java</goal>
+                        </goals>
+                        <configuration>
+                            <mainClass>io.fd.honeycomb.benchmark.format.BenchmarkOutputFormatter</mainClass>
+                            <arguments>
+                                <argument>${project.build.directory}/benchmark.csv</argument>
+                            </arguments>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
         </plugins>