• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

The program is running too slow on client's computer

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 11497
19
Android Google Web Toolkit Mac Eclipse IDE Ubuntu Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Bartender
Posts: 2911
150
Google Web Toolkit Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adding to the above points mentioned by Maneesh,

Did you compare the load of your machine vs client ?
 
Marshal
Posts: 8857
637
Mac OS X VI Editor BSD Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In addition to the guys, antivirus software on client's machine could cause the slowness. Check this.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Rancher
Posts: 1093
29
Netbeans IDE Oracle MySQL Database Tomcat Server C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Marshal
Posts: 28193
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic