[ https://issues.apache.org/jira/browse/AVRO-752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Carey updated AVRO-752: ----------------------------- Attachment: AVRO-752.patch Major refactoring of the Perf test. Includes write (Encoder) performance tests, more read tests, and more consistency across all tests. Names are simplified and many more command-line parameters are available. The output if you do not specify a valid command line is: Usage: Perf { -nowrite | -noread | -basic | -i | -ls | -l | -f | -d | -b | -by | -s | -record | -R | -Rv | -Rr | -Rd | -Ro | -Rp | -generic | -G | -Gn | -Gd | -Go | -Gp | -generic-onetime | -Gotd | -Gotr | -Got } -nowrite (do not execute write tests) -noread (do not execute write tests) -basic (executes all basic tests): -i (IntTest) -ls (SmallLongTest) -l (LongTest) -f (FloatTest) -d (DoubleTest) -b (BoolTest) -by (BytesTest) -s (StringTest) -record (executes all record tests): -R (RecordTest) -Rv (ValidatingRecord) -Rr (ResolvingRecord) -Rd (RecordWithDefault) -Ro (RecordWithOutOfOrder) -Rp (RecordWithPromotion) -generic (executes all generic tests): -G (GenericTest) -Gn (GenericNested) -Gd (GenericWithDefault) -Go (GenericWithOutOfOrder) -Gp (GenericWithPromotion) -generic-onetime (executes all generic-onetime tests): -Gotd (GenericOneTimeDecoderUse) -Gotr (GenericOneTimeReaderUse) -Got (GenericOneTimeUse) > 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