logo

Warning: The forum is now for consultation only. Please use GitHub Discussions to post any questions or comments.


Welcome Guest ! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Adam  
#1 Posted : Monday, March 23, 2020 3:51:46 PM(UTC)
Adam

Rank: Newbie

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 0
Kenya
Location: Nairobi

I have noticed that the time taken in "Rendering the report' after executing the report sql and building the report model is quite long for larger reports.
Is this caused by the Razor Engine and if so is there a way of optimizing/reducing this time.
epf  
#2 Posted : Tuesday, March 24, 2020 7:42:35 AM(UTC)
epf

Rank: Administration

Groups: Administrators
Joined: 12/20/2013(UTC)
Posts: 1,209
Switzerland

Thanks: 14 times
Was thanked: 206 time(s) in 199 post(s)
Yes, the first time the application loads, it takes time as it compiles all the razor scripts involved, after that it is in cache...
For the web report server, a preload option is available at startup in the web.config:
Code:
  <appSettings>
    <add key="webpages:Version" value="2.0.0.0" />
    <add key="PreLoad" value="true" />
  </appSettings>


otherwise with a recent and powerful computer, it really goes faster, I just experienced this with my new laptop....

Note also that the NETCore version (comming soon with the 5.5) seems to be faster....

Edited by user Tuesday, March 24, 2020 9:02:17 AM(UTC)  | Reason: Not specified

Adam  
#3 Posted : Thursday, April 2, 2020 8:58:48 AM(UTC)
Adam

Rank: Newbie

Groups: Registered
Joined: 3/23/2020(UTC)
Posts: 0
Kenya
Location: Nairobi

Hi, Thanks for the reply.
I had already set the Pre-load to true and it was still slow.
I guess I will try with a more powerful computer to see if the report rendering time improves or wait for the NETCore Version and test it's time performance when rendering the report.
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.