Return-Path: Delivered-To: apmail-jakarta-turbine-jcs-user-archive@www.apache.org Received: (qmail 4318 invoked from network); 22 Jan 2004 01:46:23 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 22 Jan 2004 01:46:23 -0000 Received: (qmail 21450 invoked by uid 500); 22 Jan 2004 01:46:06 -0000 Delivered-To: apmail-jakarta-turbine-jcs-user-archive@jakarta.apache.org Received: (qmail 21438 invoked by uid 500); 22 Jan 2004 01:46:05 -0000 Mailing-List: contact turbine-jcs-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Turbine JCS Users List" Reply-To: "Turbine JCS Users List" Delivered-To: mailing list turbine-jcs-user@jakarta.apache.org Received: (qmail 21424 invoked from network); 22 Jan 2004 01:46:05 -0000 Received: from unknown (HELO frodo.dreamhost.com) (66.33.209.11) by daedalus.apache.org with SMTP; 22 Jan 2004 01:46:05 -0000 Received: from [192.168.0.2] (68-233-107-59.stcgpa.adelphia.net [68.233.107.59]) by frodo.dreamhost.com (Postfix) with ESMTP id 8F64413BE1 for ; Wed, 21 Jan 2004 17:46:13 -0800 (PST) Mime-Version: 1.0 (Apple Message framework v609) In-Reply-To: <3B27B5BA3528BC42BA9301DE1046F9A4B0D6A6@mtlpexc100.rgare.ca> References: <3B27B5BA3528BC42BA9301DE1046F9A4B0D6A6@mtlpexc100.rgare.ca> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: James Taylor Subject: Re: Is JCS slow ? Date: Wed, 21 Jan 2004 20:45:42 -0500 To: "Turbine JCS Users List" X-Mailer: Apple Mail (2.609) X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N In your l4j config you probable want something like: So that the jcs category will only log at info level (and isDebugEnabled will return false) On Jan 21, 2004, at 12:58 PM, Spaggiari, Jean-Marc wrote: > I have found ! > > In LRUMemoryCache.java, in the verifyCache() method, for an unknown > reson, > isDebugEnabled() is returning true. So, each time i call get() this > method > is call and is verifying every element in the cache ... By modifying > verifyCache (if (true) return;) I have improved the speed as fast as > the > hashtable. > > Does anyone know what can enabled the debug mode ? Or if it is > possible to > force the debug mode to false ? > > Thanks. > > JMS. > > -----Original Message----- > From: Spaggiari, Jean-Marc [mailto:jmspaggiari@rgare.ca] > Sent: Tuesday, January 20, 2004 6:51 PM > To: 'turbine-jcs-user@jakarta.apache.org' > Subject: Re: Is JCS slow ? > > > Running the same test as standalone in a main : > > Avant le test > Tue Jan 20 18:47:30 EST 2004 > Tue Jan 20 18:47:30 EST 2004 > Tue Jan 20 18:47:30 EST 2004 > Apres le test > > :((( Now it's sure, it come from JBoss, but why and where ? :( > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > turbine-jcs-user-help@jakarta.apache.org > > --------------------------------------------------------------------- > To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: > turbine-jcs-user-help@jakarta.apache.org > --------------------------------------------------------------------- To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org