• Post Reply Bookmark Topic Watch Topic
  • New Topic

The program is running too slow on client's computer  RSS feed

 
Abdullah Attia
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm designing a program for a client, it is small not complicated or a big program just about 500kb
I tested the program (the jar file and exe file genereated by jsmooth) on my computer and two other laptops and it works perfect
while my client says the jar file is too slow, what takes second on my pc takes 50 seconds on his pc
and he says the exe is frozen while running and he has to restart his pc
what is the possibilities for this slowness problem on my client's pc while it works perfect when i test it?
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) Did you compare machine configurations? Yours and client
2) Have you enabled logging? Do the log statements give any clue?
3) Does the code open any network connections for communication? If yes, did you compare connectivity between you and client?
 
salvin francis
Bartender
Posts: 1663
37
Eclipse IDE Google Web Toolkit Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Adding to the above points mentioned by Maneesh,

Did you compare the load of your machine vs client ?
 
Liutauras Vilda
Sheriff
Posts: 4927
334
BSD
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In addition to the guys, antivirus software on client's machine could cause the slowness. Check this.
 
Jesper de Jong
Java Cowboy
Sheriff
Posts: 16060
88
Android IntelliJ IDE Java Scala Spring
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You didn't tell us anything about what the program does - it is really not possible to give you a very specific and precise answer about why it might be slow, because we have no idea what the program does.
 
Tim Holloway
Saloon Keeper
Posts: 18799
74
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I could write a program that requires no more than 100 bytes and runs very slow. Size isn't important. What the program does is important. How it does it is important. And the environment the program runs under is important. My cell phone can run programs that wouldn't even fit on a mid-1980s mainframe computer.
 
Abdullah Attia
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
it's a program that makes the user loads an image from file chooser then specify items on the image and add information to this items with the ability to add images to each item
 
Les Morgan
Rancher
Posts: 779
19
C++ Java MySQL Database Netbeans IDE Oracle Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Configuration, Configuration, Configuration... Hardware and Software. Is it a desktop or a laptop. Does it have any 3rd party hardware in it? Does it have a problem with the file system? How clean is the registry (if it's Windows). Does his computer act well behaved at other times? How many Cores does it have an is each core multithreaded?

Basically anything from not dumping your temporary files to hardware speed can be the problem.

Abdullah Attia wrote:it's a program that makes the user loads an image from file chooser then specify items on the image and add information to this items with the ability to add images to each item
 
Paul Clapham
Sheriff
Posts: 22835
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Abdullah Attia wrote:it's a program that makes the user loads an image from file chooser then specify items on the image and add information to this items with the ability to add images to each item


Okay. And which of these parts is slow? Or is it something else which is slow?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!