Jump to content
Changes to the Jaspersoft community edition download ×

Open iReport is too slow...


andromeda35

Recommended Posts

  • Replies 12
  • Created
  • Last Reply

Top Posters In This Topic

This happen to me too :-) and I am the first to hate it!!!!!

 

I'll do some profiling tests. I'm not yet able to find where iReport lose time during the startup: it's not changed much between 1.2.0 and above releases at startup level...

 

And sometime the startup goes well...without any delay.

 

I'll let you know. I'll try to reach a 3 sec startup!!

 

Thanks!

 

Giulio

Link to comment
Share on other sites

Some more details, if this can help:

 

- iReport 1.2.5 ans previous work fine here;

 

- I have problem with 1.2.6 and 1.2.7; might be related to flexdock-0.4.1?

 

- on my machine it hangs at:

 

...

[Loaded javax.swing.JApplet from /usr/local/jdk1.5.0/jre/lib/rt.jar]

[Loaded javax.swing.JWindow from /usr/local/jdk1.5.0/jre/lib/rt.jar]

[Loaded org.flexdock.docking.event.hierarchy.RootDockingPortInfo from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.defaults.DefaultDockingStrategy$DockingResults from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.floating.frames.DockingFrame from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.perspective.DockingStateListener$1 from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.util.SwingUtility$2 from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.activation.ActiveDockableTracker from file:/usr/ports/devel/ireport/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

 

then the Java process eats CPU cycles :evil:. To have it go on, I have to send it some signals (e.g. ALT+TAB).

 

- same problem with jre-1.5 or 1.4.2.

 

Regards,

--

Th. Thomas.

Link to comment
Share on other sites

tedschroeck wrote:

I noticed that it gets hung up loading the plugins. I backed up and then deleted all of the .xml files in the plugins subdirectory and iReport now starts up ok.

 

Thanks, but it does not xork for me: it still hangs, with or without plugins.

 

Regards,

--

Th. Thomas.

Link to comment
Share on other sites

Hi giulio, I tried to add modified flexdock.jar and MainFrame.class and the log is:

 

0secs loading fonts families

0.016secs Starting defaultDockingPort creation....

0 X1

0 set persistent id

15 added docking listener

688 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

1.031secs defaultDockingPort instanced....

8.749secs loading fonts loaded

0.61secs Finished createDesktopPage

0.015secs Finished dockViews creations

0.016secs finished docking ports adds

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

16 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

16 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

4984 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

16 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

16 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

15 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

4953 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

15 added docking listener

0 got dicking properties

0 setRegionChecker

16 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

16 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

27.607secs finished add docks...

 

 

Anyway, without plugins to me startup is faster....

Link to comment
Share on other sites

giulio wrote:

I opened this bug to follow up the problem:

http://jasperforge.org/sf/go/artf1647?nav=1


 

Thanks for taking care.

 

It still hangs, and the log is:

 

0 X1

0 set persistent id

8 added docking listener

15 got dicking properties

0 setRegionChecker

3 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

2 added docking listener

0 got dicking properties

0 setRegionChecker

1 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

1 added docking listener

0 got dicking properties

1 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

1 added docking listener

1 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

 

In verbose mode, last lines are:

 

1 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

1 added docking listener

1 got dicking properties

0 setRegionChecker

1 added HierarchyListener (Docking port tracker getInstance....

[Loaded org.flexdock.util.LookAndFeelSettings from file:/usr/ports/devel/ireport-1.2.7/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.event.TabbedDragListener from file:/usr/ports/devel/ireport-1.2.7/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.activation.ActiveDockableTracker from file:/usr/ports/devel/ireport-1.2.7/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

[Loaded org.flexdock.docking.activation.ActiveDockableTracker$1 from file:/usr/ports/devel/ireport-1.2.7/work/iReport-1.2.7/lib/flexdock-0.4.1.jar]

 

Regards,

--

Th. Thomas.

Link to comment
Share on other sites

  • 3 weeks later...

Hello,

 

below is the trace from ireport startup created using modified MainFrame.class and flexdock-0.4.1.jar.

 

adding docks on my machine finishes anything from 6 to 12 seconds.

 

problem seems to be related to plugins - any chance to enhance this part of the app with the trace log?

 

my test case: in plugin folder for all plugins changed file extensions from .xml to .xml.old.

result: startup time decreased from 5 minutes to 30 seconds (still seems a bit too much).

 

anyways, here goes the log:

 

0secs loading fonts families

0.0secs Starting defaultDockingPort creation....

0 X1

0 set persistent id

0 added docking listener

406 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0.563secs defaultDockingPort instanced....

2.297secs loading fonts loaded

0.234secs Finished createDesktopPage

0.0secs Finished dockViews creations

0.0secs finished docking ports adds

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

563 added docking listener

0 got dicking properties

0 setRegionChecker

1828 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

844 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

188 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

250 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

188 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

172 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

218 added docking listener

157 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

422 added docking listener

0 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

0 got dicking properties

140 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

0 X1

0 set persistent id

0 added docking listener

672 got dicking properties

0 setRegionChecker

0 added HierarchyListener (Docking port tracker getInstance....

7.594secs finished add docks...

Link to comment
Share on other sites

  • 2 months later...

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...