[ https://issues.apache.org/jira/browse/AVRO-1497?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14494717#comment-14494717 ]
Ryan Blue commented on AVRO-1497: --------------------------------- I ran the performance tests no the current trunk a few times to find out what the variability in the perf tests looks like. I used a physical machine I had access to with nothing running on it other than an occasional monitoring service. I've added the results as a [second page in the spreadsheet|https://docs.google.com/spreadsheets/d/1wiLHryLOAfxRnkrrNZWJYJloqWUj5r9xPCL4XB8uIo4/edit#gid=1264216576]. 18 of the 68 tests had a difference of 5% or more on one if the 4 runs. The farthest from the average was fairly well balanced across the runs, and the difference was equally both positive (slower) and negative (faster). The patterns of behavior I see are: 1. The first run is generally a bit slower, though not always: one test was 13% faster than any other run, see line 54. 2. The last run was a bit faster in the second half of the run, with several substantially faster reflection tests 3. The reflect tests and validating tests seem to have the largest variability. I also ran the logical types code to compare it to the averaged normal runs. It is significantly slower (see the other sheets) than the average, so I think I need to do some more work to make this better. I'm not sure why this didn't show up on my laptop, but it does consistently now. > Add LogicalType support to Java > ------------------------------- > > Key: AVRO-1497 > URL: https://issues.apache.org/jira/browse/AVRO-1497 > Project: Avro > Issue Type: New Feature > Components: java > Reporter: Ryan Blue > Assignee: Zoltan Farkas > Fix For: 1.7.8 > > Attachments: Logical Types Performance Comparison - Sheet1.csv > > > AVRO-1402 updates the Avro spec to include logical types, which are stored as > existing types but interpreted as others. The next step is to implement > LogicalType (in Java) that provides tools to attach a logical type to a > schema, read a logical type, and validate logical types. -- This message was sent by Atlassian JIRA (v6.3.4#6332)