aspose file tools
The moose likes I/O and Streams and the fly likes performance issue Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » I/O and Streams
Reply Bookmark "performance issue" Watch "performance issue" New topic
Author

performance issue

khaled hanafy
Greenhorn

Joined: Jun 28, 2010
Posts: 15

Hi Guys ,

i made an applicatiom that read from txt file "which contain approximatly 4500 rows" and made processing on each row and then print the results in Excell using POI API , but it's very slow it takes 30 minutes !!

is there any recommendation or design pattern should i know to increase the application's performance ?
John Jai
Rancher

Joined: May 31, 2011
Posts: 1372
Are you doing reading of the text files and then writing into Excel concurrently?

Then, try read the text file line by line - process it and store the data in a custom helper class object.

Finally after processing write the helper object information into the excel sheet.
 
 
subject: performance issue
 
Threads others viewed
Java3D: Which is better: OpenGL or Direct3D?
Performance Monitoring in WebSphere using Tivoli Performance Viewer
Loops
2 dates per post?
native vs byte code
developer file tools

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture