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

Author Topic: "new LimeReport" takes 30~40 seconds!  (Read 18888 times)

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #30 on: April 10, 2021, 06:47:07 pm »
I can only see you launched the exe in env1 in the video. So you also tried env2 and the launch speed is the same?

I tested the static build today and the speed is similarly slow. Maybe we can root out the cause of dll look-ups.

I will try disable any antivirus and let you know.

Thanks,
Alex

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #31 on: April 10, 2021, 09:13:24 pm »
yep in video only env1 shown
I sure that the second will show the same result but 'll try it

P.S. Alex, the author of LR, is monitors the our conversation and speak with me by telegram regularly

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #32 on: April 10, 2021, 09:17:21 pm »
I've did it
result is same, may be one second as maximum
if you need I'll record the video also

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #33 on: April 10, 2021, 09:19:07 pm »
P.S. you are using the opencv as I see
why the 3-d version not 4-th?

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #34 on: April 12, 2021, 03:36:38 am »
Parts of our software require opencv3. Does it hurt anything?

Alex

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #35 on: April 12, 2021, 03:48:23 am »
I did run .exe in env2 with antivirus disabled. The program was still slow to start.

One question: Did you run the test program on ssd or hdd? Our computers use hdd.

Thanks,
Alex
« Last Edit: April 12, 2021, 04:08:54 am by alexyuisme »

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #36 on: April 12, 2021, 06:01:59 am »
I did try running .exe under env1/env2 on ssd with antivirus disabled. Here's the result:

env1: 2.2 secs;
env2: 9~10 secs;

The launch speed is way faster than hdd. Tried a couple times and the result is firmed.

I know it makes zero sense, but here the launch time increases with the number of dlls increases in the exe's directory.

Thanks,
Alex
« Last Edit: April 12, 2021, 06:04:04 am by alexyuisme »

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #37 on: April 12, 2021, 12:48:39 pm »
To confirm my theory, I used "processing explorer" to check which dlls will be accessed during the exe program startup. I found that the exe is trying to access some of the irrelevant dlls within the directory!

I don't know who is forcing this behavior but the program really does this kind of unnecessary dll-lookups.

To download process explore, here is the link:|

https://download.sysinternals.com/files/ProcessExplorer.zip

to enter view dll mode:

1. On the View menu make sure “Show Lower Pane” is checked.
2. Press CTRL + D or click View - Lower Pane View - DLLs to enable DLL view mode.

Alex

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #38 on: April 13, 2021, 02:34:53 pm »
alexyuisme, I've run the test from hdd
from sdd rather faster

I have the sysinternals suite.
What exactly libraries are irrelevant you think?
« Last Edit: April 13, 2021, 03:00:44 pm by Subst »

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #39 on: April 13, 2021, 03:44:10 pm »
Additional dlls look-ups include: libGLESV2d.dll, libopenblas.dll. I uploaded a video to show the launch time on my ssd takes about 22 seconds:

https://github.com/alexyuisme/test_limereport/blob/master/2021-04-12%2022-02-49.mkv

Alex
« Last Edit: April 13, 2021, 03:47:05 pm by alexyuisme »

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #40 on: April 13, 2021, 04:09:35 pm »
alexyuisme, Why in your environment release libraries are mixing with debug ones?

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #41 on: April 13, 2021, 04:36:34 pm »
One crash log lib requires elf info thus lots of debug libs are included in the deployment environment folder. Are those debug libs problematic?

Alex

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #42 on: April 13, 2021, 07:23:31 pm »
alexyuisme, well, lets I build test and send you?
With all libraries & dependencies
Let's see the result on your comps

alexyuisme

  • Newbie
  • *
  • Posts: 32
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #43 on: April 14, 2021, 02:02:55 am »
Sure, please me know when your build is ready.

Alex

Subst

  • Sr. Member
  • ****
  • Posts: 450
    • View Profile
Re: "new LimeReport" takes 30~40 seconds!
« Reply #44 on: April 14, 2021, 09:06:51 am »