IntelliJ Java IDE
The moose likes Performance and the fly likes Printing & Performance Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Performance
Reply Bookmark "Printing & Performance" Watch "Printing & Performance" New topic
Author

Printing & Performance

Abhinav Anand
Ranch Hand

Joined: May 02, 2002
Posts: 113
Hi guys,
I have noticed that the performance of my Java applications goes down considerably when some printing is taking place in computer. It does'nt matter whether the printing was invoked by the java program or any other program, the performance becomes extremely sluggish and the gui becomes less responsive while the printing is going on.
When the printing is over the program starts working properly again.
Does anybody has any idea/explaination as to what is happinging and how can i remove this relationship between printing and performance of my java programs.
Thanks in advance,
Vishal
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 11862
With Windows XP, I have noticed the same. It appears that when printing it does not give other processes much execution time. I suppose you could give all your Java Threads max priority but I don't know if that will do any good.
Bill
Abhinav Anand
Ranch Hand

Joined: May 02, 2002
Posts: 113
Hi,
I tried the thread priority solutino but the apps performance really sucks while some printing activity is going on the system. The same does'nt happen when I try to print on a network printer on a different computer. I think that this problem exists on the windows platform.
Does any body has any idea if this problem persists on non-windows platform also.
Thanks in advance.
Vishl
 
IntelliJ Java IDE
 
subject: Printing & Performance
 
Threads others viewed
needing Optimizer
Vector is faster
Printing on Java console problem
Looking for printing code samples
Any performance monitoring tool ?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com