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 9188510FA9 for ; Thu, 12 Feb 2015 00:32:12 +0000 (UTC) Received: (qmail 87963 invoked by uid 500); 12 Feb 2015 00:32:12 -0000 Delivered-To: apmail-avro-dev-archive@avro.apache.org Received: (qmail 87903 invoked by uid 500); 12 Feb 2015 00:32:12 -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 87891 invoked by uid 99); 12 Feb 2015 00:32:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 12 Feb 2015 00:32:12 +0000 Date: Thu, 12 Feb 2015 00:32:12 +0000 (UTC) From: "Ryan Blue (JIRA)" To: dev@avro.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AVRO-1504) Improve python implementation performance MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AVRO-1504?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14317269#comment-14317269 ] Ryan Blue commented on AVRO-1504: --------------------------------- Unfortunately, I haven't been following this from the beginning, so I'm not sure what the changes are for the improvements that Steven posted. However, since [~jcnnghm] can validate that the validation lookup table and direct access to _writer are an improvement and they make sense, let's start by getting just those changes in a patch. Then we can look at optimizing the numeric deserialization. > Improve python implementation performance > ----------------------------------------- > > Key: AVRO-1504 > URL: https://issues.apache.org/jira/browse/AVRO-1504 > Project: Avro > Issue Type: Improvement > Components: python > Affects Versions: 1.7.6 > Reporter: Steven Moy > Labels: patch, performance > Attachments: AVRO-1504.patch > > > Inspired by https://www.python.org/doc/essays/list2str/, there are some low hanging fruit to increase the performance for python implementation. > Patch soon follow: > https://github.com/smoy/avro/commits/smoy_reader_performance > relevant commits > * 71220bb4a84c7aa4d42b593a2c0f7cefa8cda82d > * 542139ce1a40492c9234ee5f84a4410515877af4 > * 2f7a0ef8d02148cf69269f5b59f89481e7c86d34 -- This message was sent by Atlassian JIRA (v6.3.4#6332)