Optimize execution time

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
axel
Posts: 21
Joined: Fri Aug 10, 2007 12:37 pm

Optimize execution time

Post by axel » Thu Dec 13, 2007 1:47 pm

Hi,

I developed a small application connecting to a database and rendering graphics using JFreeChart.
I was very surprised that the application is not faster on Linux (Debian) than on Windows (XP).

So I was wondering what could be the reasons : is it because mathematical requests are faster on Linux, but SQL queries take the same time ?

The aim of my question is to understand how I could optimize the calculation times of my application.

Thanks in advance for your opinion !

uvoigt
Posts: 168
Joined: Mon Aug 23, 2004 10:50 am
Location: Germany

Post by uvoigt » Thu Dec 13, 2007 1:57 pm

I was very surprised that the application is not faster on Linux (Debian) than on Windows (XP).
Do you really mean not faster on Linux? I wouldn't be surprised if the application has the same speed on Linux and on Windows.

axel
Posts: 21
Joined: Fri Aug 10, 2007 12:37 pm

Post by axel » Thu Dec 13, 2007 2:27 pm

You've correctly understood.... it has the same execution speed on Linux and Windows (I mean, approximately the same, I was not with a chronometer to measure time).

And I would have expected it to be much faster with Linux....

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Thu Dec 13, 2007 4:53 pm

axel wrote:And I would have expected it to be much faster with Linux....
Why do you expect Linux to be faster?
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

axel
Posts: 21
Joined: Fri Aug 10, 2007 12:37 pm

Post by axel » Thu Dec 13, 2007 10:19 pm

Because Linux is generally faster than Windows ... but maybe there is something special with my application, and that's this point I would like to understand.

Locked