Jump to content
JasperReports Library 7.0 is now available ×

JRBshCompiler - Fill 10 times slower.


2005 IR Help

Recommended Posts

By: Mathieu Rousseau - nono31

JRBshCompiler - Fill 10 times slower.

2004-05-18 09:30

Hi!

 

I've tested My report (3 fields, 66000 tuples) in JavaWebstart.

I had problems to compile on the fly in this way because the nornal jasper compiler does not find the jasper classes... (that are not in my system class path obviously because I am using javawebstart).

the pb is in this post:

http://forum.java.sun.com/thread.jsp?forum=38&thread=419867

 

The simpliest solution to this pb was to use the JRBshCompiler based on the BeanShell library.

I saw: wow it compiles so much faster!!!

The big hick is that it takes kind of 10 times more time to fill the report:

my report with normal compiler: 1m45 to fill

my report with Bsh compiler: more than 15 min to fill!!

 

What all this huge difference????

 

Well for now it is working back fast in webstart using the 2nd trick a little bit more complex consisting of getting the jars and putting it in the java.class.path property.

 

It is now working for me, I just wanted to share this and know why all this difference between the Bsh version and the normal version...

 

Bye

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...