[
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-2
This patch follows on the previous one.
Changes are:
* longer test by default, more consistent results.
* improved output formatting and additional column that reports the size of the
encoded data for each test.
Output now looks like:
{noformat}
Executing tests:
[IntTest, SmallLongTest, LongTest, FloatTest, DoubleTest, BoolTest, BytesTest,
StringTest, RecordTest, ValidatingRecord, ResolvingRecord, RecordWithDefault,
RecordWithOutOfOrder, RecordWithPromotion, GenericTest, GenericNested,
GenericWithDefault, GenericWithOutOfOrder, GenericWithPromotion,
GenericOneTimeDecoderUse, GenericOneTimeReaderUse, GenericOneTimeUse]
readTests:false
writeTests:true
cycles=800
test name time M entries/sec M bytes/sec
bytes/cycle
IntWrite: 5372 ms 37.229 93.717 629325
SmallLongWrite: 5502 ms 36.349 91.501 629325
LongWrite: 9874 ms 20.254 88.494 1092275
FloatWrite: 7337 ms 27.259 109.035 1000000
DoubleWrite: 14798 ms 13.515 108.117 2000000
BooleanWrite: 2111 ms 94.707 94.707 250000
BytesWrite: 2843 ms 14.066 499.879 1776937
StringWrite: 12230 ms 3.270 116.487 1780910
RecordWrite: 12538 ms 2.659 103.178 1617069
ValidatingRecordWrite: 14139 ms 2.358 91.495 1617069
GenericWrite: 10777 ms 1.546 60.013 808498
GenericNested_Write: 12837 ms 1.298 50.384 808498
{noformat}
I will commit this change soon and close the ticket if there are no objections
tomorrow.
> 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, AVRO-752.patch-2
>
>
> 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