This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes I/O and Streams and the fly likes performance issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » I/O and Streams
Bookmark "performance issue" Watch "performance issue" New topic

performance issue

khaled hanafy

Joined: Jun 28, 2010
Posts: 25

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

Joined: May 31, 2011
Posts: 1776
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.
I agree. Here's the link:
subject: performance issue
Similar Threads
2 dates per post?
native vs byte code
Performance Monitoring in WebSphere using Tivoli Performance Viewer
Java3D: Which is better: OpenGL or Direct3D?