Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: Slow startup time!  (Read 6006 times)

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Slow startup time!
« on: March 08, 2020, 02:35:39 pm »
Hi,
Everything perfect with LimeTeport except speed! :(

When I add #include<LimeReport> in the header of the form, it's dramaticly make slow the loading time. I'm waiting while formX.show()

Any advice  please?

Regards,
Mucip:)

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Slow startup time!
« Reply #1 on: March 08, 2020, 09:52:29 pm »
Hi!
It's very strange. 
I have tested and I did not find any difference :)
If you just add the #include <LimeReport> nothing that can slow down your app is happen.
If you create an instance and start loading a report's pattern into it, a slowdown may occur in this case.

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: Slow startup time!
« Reply #2 on: March 09, 2020, 11:41:36 am »
Hi,
"If you create an instance and start loading a report's pattern into it, a slowdown may occur in this case."

I do like this. How can I do other than this way?

Regards,
Mucip:)

Arin Alex

  • Developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 1005
    • View Profile
Re: Slow startup time!
« Reply #3 on: March 09, 2020, 12:04:30 pm »
Hi!
Look, limereport can take some application's time for some reasons:
 - a report's pattern is big and contains a lot of items (limereport needs some time to parse it)
 - a report's pattern contains queries and limereport needs some time to run it (if queries are not optimized it can take a lot of time)

How to solve the problem:
 - load a report's pattern just before generation.
 - optimize query
 - use callback datasources     
« Last Edit: March 10, 2020, 02:54:58 am by Arin Alex »

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: Slow startup time!
« Reply #4 on: March 10, 2020, 12:37:19 pm »
Hi,
As you advice, I loaded LimeReport when I press the "Print" button. Now it's better. Thanks.

Regards,
Mucip:)

francois

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Slow startup time!
« Reply #5 on: October 03, 2020, 09:38:55 pm »
Hi,

When i do new ReportEngine(this) the allocation is slow
Can you help me about slow execution ?

Thank's

Mucip

  • Jr. Member
  • **
  • Posts: 51
    • View Profile
Re: Slow startup time!
« Reply #6 on: October 03, 2020, 10:37:01 pm »
Hi,
Please follow the Arin's advice. Load the report just before the generation.
If you load it when you create form then it's slow...

Regards,
Mucip:)

francois

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: Slow startup time!
« Reply #7 on: October 04, 2020, 12:46:07 am »
Hi,
Please follow the Arin's advice. Load the report just before the generation.
If you load it when you create form then it's slow...

Regards,
Mucip:)

Hi Mucip,

Thank you
I will try your advice soon

Best Regards

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: Slow startup time!
« Reply #8 on: April 13, 2021, 06:18:30 am »
Hi,
Please follow the Arin's advice. Load the report just before the generation.
If you load it when you create form then it's slow...

Regards,
Mucip:)

Hi Mucip,

Thank you
I will try your advice soon

Best Regards

Hi, francois :

I have a similar issue as you did regarding the slow startup time. Did you solve this issue?

Thanks,
Alex