CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Advanced:
Performance Issue with Inline::Java module

 



bhaskar
New User

Nov 22, 2010, 9:52 PM

Post #1 of 1 (1323 views)
Performance Issue with Inline::Java module Can't Post

Hi,

I am using a jar file in Perl script using Inline::Java module. First I am initializing the beans and then getting a service bean. Using this service bean, I am executing a query to get the results(Java domain objects). The query execution is taking almost 10 seconds. After getting the results, I am constructing a hash with the required data. I am fetching this data by calling getter methods defined on each object in the result. But the issue is each getter call itself taking 350 milli seconds. I have thousands of objects in the result. So it is taking 20-25 minutes to construct the complete hash. Is there any way to reduce the time taken by each getter call ? or Is there any way through which I can convert the Java objects into hash directly ?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives