jakarta-jcs-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Spaggiari, Jean-Marc" <jmspaggi...@rgare.ca>
Subject RE: Is JCS slow ?
Date Thu, 22 Jan 2004 12:36:13 GMT
Hi James.

It's now working fine !

It take no more 1h but only 6m !!! Great !

Thanks to every one,

JMS.

-----Original Message-----
From: James Taylor [mailto:james@jamestaylor.org]
Sent: Wednesday, January 21, 2004 8:46 PM
To: Turbine JCS Users List
Subject: Re: Is JCS slow ?


In your l4j config you probable want something like:

   <category name="org.apache.jcs">
     <priority value="info"/>
   </category>

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

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-jcs-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-jcs-user-help@jakarta.apache.org


Mime
View raw message