[
https://issues.apache.org/jira/browse/AVRO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Scott Carey updated AVRO-752:
-----------------------------
Status: Patch Available (was: Open)
To run Perf.java via maven, use the maven exec plugin.
for info:
{noformat}
mvn exec:help
mvn exec:help -Dgoal=java
{noformat}
and http://mojo.codehaus.org/exec-maven-plugin/usage.html
to run only the write tests:
{noformat}
cd lang/java/avro
mvn exec:java -Dexec.mainClass="org.apache.avro.io.Perf"
-Dexec.classpathScope=test -Dexec.args="-noread"
{noformat}
We can simplify this later with a profile in the pom that sets up the class and
classpath, or wire it up another way.
> Java: Enhanced Performance Test Suite
> --------------------------------------
>
> Key: AVRO-752
> URL: https://issues.apache.org/jira/browse/AVRO-752
> Project: Avro
> Issue Type: Improvement
> Components: java
> Reporter: Scott Carey
> Assignee: Scott Carey
> Priority: Minor
> Fix For: 1.5.0
>
> Attachments: AVRO-752.patch
>
>
> The Perf.java performance test can be improved. Notably, it is only useful
> for testing Decoders at the moment. Upgrading it to run tests more
> consistently, support both read (Decoder) and write (Encoder) tests, and be
> more flexible in general will help us performance tune and spot regressions
> more easily.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira