Return-Path: X-Original-To: apmail-avro-dev-archive@www.apache.org Delivered-To: apmail-avro-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id ABCF6C735 for ; Mon, 14 May 2012 08:19:07 +0000 (UTC) Received: (qmail 27429 invoked by uid 500); 14 May 2012 08:19:07 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 27376 invoked by uid 500); 14 May 2012 08:19:07 -0000 Mailing-List: contact dev-help@avro.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@avro.apache.org Delivered-To: mailing list dev@avro.apache.org Received: (qmail 27365 invoked by uid 99); 14 May 2012 08:19:07 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 08:19:07 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 May 2012 08:19:06 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id E96B349553C for ; Mon, 14 May 2012 08:18:45 +0000 (UTC) Date: Mon, 14 May 2012 08:18:45 +0000 (UTC) From: "Vivek Nadkarni (JIRA)" To: dev@avro.apache.org Message-ID: <740846361.60686.1336983525957.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1018189971.60680.1336983229381.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (AVRO-1088) Avro-C - Add performance tests for schema resolution and arrays. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-1088?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Vivek Nadkarni updated AVRO-1088: --------------------------------- Attachment: AVRO-1088.patch Uploading patch file implementing the new performance tests. > Avro-C - Add performance tests for schema resolution and arrays. > ---------------------------------------------------------------- > > Key: AVRO-1088 > URL: https://issues.apache.org/jira/browse/AVRO-1088 > Project: Avro > Issue Type: Improvement > Components: c > Affects Versions: 1.7.0 > Environment: Ubuntu Linux 11.10 > Reporter: Vivek Nadkarni > Fix For: 1.7.0 > > Attachments: AVRO-1088.patch > > Original Estimate: 24h > Remaining Estimate: 24h > > The current performance test in Avro-C measures the performance while > reading and writing of Avro values using a complex record schema, > which does not contain any arrays. > We add tests to measure the performance for simple and nested > arrays. We also replicate all tests to measure the performance of the > schema resolution using a resolved reader and a resolved writer. > Specifically we add the following performance tests: > Nested Record > 1. Replicating the test "nested record value by index", using a helper > function. Using helper functions adds a little overhead, but it > allows us to test various schemas, as well as different modes of > schema resolution much more easily. > 2. Using a resolved writer to resolve between (identical) reader and > writer schemas, while reading a complex record. > 3. Using a resolved reader to resolve between (identical) reader and > writer schemas, while writing a complex record. > Simple Array > 4. Test the performance for reading and writing a simple array. > 5. Using a resolved writer to resolve between (identical) reader and > writer schemas, while reading a simple array. > 6. Using a resolved reader to resolve between (identical) reader and > writer schemas, while writing a simple array. > Nested Array > 7. Test the performance for reading and writing a nested array. > 8. Using a resolved writer to resolve between (identical) reader and > writer schemas, while reading a nested array. > 9. Using a resolved reader to resolve between (identical) reader and > writer schemas, while writing a nested array. > Additionally we fix a minor bug: > 1. The return value of avro_value_equal_fast() was not being > tested. Test this return value, and fail if it is FALSE. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira