Return-Path: X-Original-To: apmail-hbase-issues-archive@www.apache.org Delivered-To: apmail-hbase-issues-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1B8B9DFA5 for ; Sat, 7 Jul 2012 01:21:36 +0000 (UTC) Received: (qmail 82948 invoked by uid 500); 7 Jul 2012 01:21:35 -0000 Delivered-To: apmail-hbase-issues-archive@hbase.apache.org Received: (qmail 82907 invoked by uid 500); 7 Jul 2012 01:21:35 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 82890 invoked by uid 99); 7 Jul 2012 01:21:35 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 07 Jul 2012 01:21:35 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id ECE29142850 for ; Sat, 7 Jul 2012 01:21:34 +0000 (UTC) Date: Sat, 7 Jul 2012 01:21:34 +0000 (UTC) From: "binlijin (JIRA)" To: issues@hbase.apache.org Message-ID: <781160145.17639.1341624094972.JavaMail.jiratomcat@issues-vm> In-Reply-To: <1681886169.13341.1341566555487.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Updated] (HBASE-6338) Cache Method in rpc handler 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/HBASE-6338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] binlijin updated HBASE-6338: ---------------------------- Attachment: HBASE-6338-92.patch HBASE-6338-90.patch > Cache Method in rpc handler > --------------------------- > > Key: HBASE-6338 > URL: https://issues.apache.org/jira/browse/HBASE-6338 > Project: HBase > Issue Type: Improvement > Reporter: binlijin > Attachments: HBASE-6338-90.patch, HBASE-6338-92.patch, HBASE-6338-94.patch, HBASE-6338-trunk.patch > > > Every call in rpc handler a Method will be created, if we cache the method will improve a little. > I test with 0.90, Average Class.getMethod(String name, Class... parameterTypes) cost 4780 ns , if we cache it cost 2620 ns. -- 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