Return-Path: Delivered-To: apmail-jakarta-tomcat-dev-archive@www.apache.org Received: (qmail 95227 invoked from network); 8 Aug 2004 22:41:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 8 Aug 2004 22:41:12 -0000 Received: (qmail 83480 invoked by uid 500); 8 Aug 2004 22:41:03 -0000 Delivered-To: apmail-jakarta-tomcat-dev-archive@jakarta.apache.org Received: (qmail 83440 invoked by uid 500); 8 Aug 2004 22:41:02 -0000 Mailing-List: contact tomcat-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Developers List" Reply-To: "Tomcat Developers List" Delivered-To: mailing list tomcat-dev@jakarta.apache.org Received: (qmail 83424 invoked by uid 99); 8 Aug 2004 22:41:02 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [216.193.197.90] (HELO gs3.inmotionhosting.com) (216.193.197.90) by apache.org (qpsmtpd/0.27.1) with ESMTP; Sun, 08 Aug 2004 15:41:00 -0700 Received: from c66-235-50-36.sea2.cablespeed.com ([66.235.50.36] helo=[192.168.0.4]) by gs3.inmotionhosting.com with asmtp (TLSv1:AES256-SHA:256) (Exim 4.24) id 1BtwLj-00015o-B8 for tomcat-dev@jakarta.apache.org; Sun, 08 Aug 2004 15:41:07 -0700 Message-ID: <4116ABFA.9050009@apache.org> Date: Sun, 08 Aug 2004 15:40:58 -0700 From: Brian Pane User-Agent: Mozilla Thunderbird 0.7.3 (Macintosh/20040803) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Tomcat Developers List Subject: Re: StandardClassLoader ? References: <4111F1C1.7060508@apache.org> <006401c47b00$e78b50a0$dd01dc0a@Corp.LaQuinta.com> <411259F7.7050402@apache.org> <41139BB5.7080104@apache.org> <4113BB21.4030800@apache.org> In-Reply-To: <4113BB21.4030800@apache.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gs3.inmotionhosting.com X-AntiAbuse: Original Domain - jakarta.apache.org X-AntiAbuse: Originator/Caller UID/GID - [0 0] / [47 12] X-AntiAbuse: Sender Address Domain - apache.org X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Remy Maucherat wrote: > I agree. I'm kinda running out of optimization ideas, though (I don't > know if you profiled the regular request processing lately, but > there's really nothing left). There doesn't seem to be too much which > is doable with the startup overall. I've found that the parsing of the default server.xml during Tomcat 5.0.27 startup takes 1.5 seconds on my test system. In comparison, the SAX-based element-counter sample program shipped with Xerces-J takes less than 100 ms to parse the same file on the same hardware. Based on this, my hypothesis is that the SAX callback handlers in org.apache.tomcat.util.digester.Digester may account for a lot of the parsing time. Does that match what you've found in your profiling? (I only have coarse-grained profiling data from adding System#currentTimeMillis calls to the Tomcat code. I haven't yet figured out how to use "-Xrunhprof" without slowing Tomcat to a crawl.) Brian --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org