Re: Performance of JNI calls

2002-06-13 Thread costinm
I'm impressed ! Did I mentioned that I love working on tomcat ( even with all the flames and 'issues' and politics ) ? On Thu, 13 Jun 2002, Mladen Turk wrote: I've seen in the JNI aprImpl the JK_DIRECT_BUFFER_NIO flag that is newer used. What's missing ( the most ) is a MsgAjp and

Re: Performance of JNI calls

2002-06-13 Thread Pier Fumagalli
Mladen Turk [EMAIL PROTECTED] wrote: The most important thing that bothers me is that the java is more then 2 times slower then the GetByteArrayRegion version. Now, I allway tought that JNI calls imposes serious performance degradation, but I'm not so sure now. That was JDK 1.2... We've

RE: Performance of JNI calls

2002-06-13 Thread Mladen Turk
-Original Message- From: Pier Fumagalli [mailto:[EMAIL PROTECTED]] Sent: 13. lipanj 2002 19:35 To: Tomcat Developers List Cc: [EMAIL PROTECTED] Subject: Re: Performance of JNI calls Mladen Turk [EMAIL PROTECTED] wrote: The most important thing that bothers me

RE: Performance of JNI calls

2002-06-13 Thread costinm
On Thu, 13 Jun 2002, Mladen Turk wrote: Throughput in rows per second (bigger is better) JavaRowConsumer 95556 FineGrainedJNIRowConsumer 64360 CoarseGrainedJNIRowConsumer 53946 BytePackedJNIRowConsumer56328 SocketRowConsumer 15635 Now I've changed the

RE: Performance of JNI calls

2002-06-13 Thread Mladen Turk
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 13. lipanj 2002 20:45 To: Mladen Turk Cc: List Tomcat-Dev Subject: Re: Performance of JNI calls Few comments on the code ( first look ): In many case there is no need to SetByteArrayRegion