Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 27549 invoked from network); 27 Jul 2007 08:47:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Jul 2007 08:47:40 -0000 Received: (qmail 45420 invoked by uid 500); 27 Jul 2007 08:47:41 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 45402 invoked by uid 500); 27 Jul 2007 08:47:40 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 45393 invoked by uid 99); 27 Jul 2007 08:47:40 -0000 Received: from Unknown (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 01:47:40 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Jul 2007 08:47:39 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5063E7141F0 for ; Fri, 27 Jul 2007 01:47:19 -0700 (PDT) Message-ID: <8175704.1185526039312.JavaMail.jira@brutus> Date: Fri, 27 Jul 2007 01:47:19 -0700 (PDT) From: "Mikhail Fursov (JIRA)" To: commits@harmony.apache.org Subject: [jira] Assigned: (HARMONY-4552) [drlvm][jit][perf]instanceof operation works slowly in server mode In-Reply-To: <2231581.1185454720395.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-4552?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mikhail Fursov reassigned HARMONY-4552: --------------------------------------- Assignee: Mikhail Fursov > [drlvm][jit][perf]instanceof operation works slowly in server mode > ------------------------------------------------------------------ > > Key: HARMONY-4552 > URL: https://issues.apache.org/jira/browse/HARMONY-4552 > Project: Harmony > Issue Type: Bug > Components: DRLVM > Reporter: Vladimir Strigun > Assignee: Mikhail Fursov > > The test below shows that instanceof significantly slower in comparison win Sun. > Results of test execution: > java client: 2500 msec > java server: 31 msec > harmony server: 4000 msec > Small test: > public class Test { > public static void main(String[] args) { > runTest(1000, new String()); > long start = System.currentTimeMillis(); > runTest(1000000000, new String()); > long end = System.currentTimeMillis() - start; > System.out.println("completed in "+end); > } > public static void runTest(int num, Object obj) { > for(int i=0; i if(obj instanceof String){} > } > } > } -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.