Return-Path: Delivered-To: apmail-hadoop-common-dev-archive@www.apache.org Received: (qmail 2658 invoked from network); 8 Jul 2009 22:07:30 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 8 Jul 2009 22:07:30 -0000 Received: (qmail 39113 invoked by uid 500); 8 Jul 2009 22:07:39 -0000 Delivered-To: apmail-hadoop-common-dev-archive@hadoop.apache.org Received: (qmail 38953 invoked by uid 500); 8 Jul 2009 22:07:39 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-dev@hadoop.apache.org Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 38802 invoked by uid 99); 8 Jul 2009 22:07:39 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 22:07:39 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 08 Jul 2009 22:07:36 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id E2B6A234C1E6 for ; Wed, 8 Jul 2009 15:07:14 -0700 (PDT) Message-ID: <1330788324.1247090834927.JavaMail.jira@brutus> Date: Wed, 8 Jul 2009 15:07:14 -0700 (PDT) From: "Todd Lipcon (JIRA)" To: common-dev@hadoop.apache.org Subject: [jira] Created: (HADOOP-6133) ReflectionUtils performance regression 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 ReflectionUtils performance regression -------------------------------------- Key: HADOOP-6133 URL: https://issues.apache.org/jira/browse/HADOOP-6133 Project: Hadoop Common Issue Type: Improvement Reporter: Todd Lipcon Assignee: Todd Lipcon Attachments: Test.java HADOOP-4187 introduced extra calls to Class.forName in ReflectionUtils.setConf. This caused a fairly large performance regression. Attached is a microbenchmark that shows the following timings (ms) for 100M constructions of new instances: Explicit construction (new Test): around ~1.6sec Using Test.class.newInstance: around ~2.6sec ReflectionUtils on 0.18.3: ~8.0sec ReflectionUtils on 0.20.0: ~200sec This illustrates the ~80x slowdown caused by HADOOP-4187. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.