Return-Path: X-Original-To: apmail-pig-dev-archive@www.apache.org Delivered-To: apmail-pig-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 6610E11863 for ; Tue, 15 Apr 2014 19:14:41 +0000 (UTC) Received: (qmail 83822 invoked by uid 500); 15 Apr 2014 19:14:27 -0000 Delivered-To: apmail-pig-dev-archive@pig.apache.org Received: (qmail 83670 invoked by uid 500); 15 Apr 2014 19:14:24 -0000 Mailing-List: contact dev-help@pig.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@pig.apache.org Delivered-To: mailing list dev@pig.apache.org Received: (qmail 83643 invoked by uid 500); 15 Apr 2014 19:14:24 -0000 Delivered-To: apmail-hadoop-pig-dev@hadoop.apache.org Received: (qmail 83391 invoked by uid 99); 15 Apr 2014 19:14:18 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2014 19:14:18 +0000 Date: Tue, 15 Apr 2014 19:14:18 +0000 (UTC) From: "Rohini Palaniswamy (JIRA)" To: pig-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (PIG-3456) Reduce threadlocal conf access in backend for each record 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/PIG-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rohini Palaniswamy updated PIG-3456: ------------------------------------ Status: Open (was: Patch Available) Cancelling patch as it needs to be rebased after PIG-3591 > Reduce threadlocal conf access in backend for each record > --------------------------------------------------------- > > Key: PIG-3456 > URL: https://issues.apache.org/jira/browse/PIG-3456 > Project: Pig > Issue Type: Improvement > Affects Versions: 0.11.1 > Reporter: Rohini Palaniswamy > Assignee: Rohini Palaniswamy > Fix For: 0.13.0 > > Attachments: PIG-3456-1-no-whitespace.patch, PIG-3456-1.patch > > > Noticed few things while browsing code > 1) DefaultTuple has a protected boolean isNull = false; which is never used. Removing this gives ~3-5% improvement for big jobs > 2) Config checking with ThreadLocal conf is repeatedly done for each record. For eg: createDataBag in POCombinerPackage. But initialized only for first time in other places like POPackage, POJoinPackage, etc. -- This message was sent by Atlassian JIRA (v6.2#6252)