Rank: Newbie
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 0 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.
|
|
|
|
Rank: Administration
Groups: Administrators
Joined: 12/20/2013(UTC) Posts: 1,209 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
|
|
|
|
Rank: Newbie
Groups: Registered
Joined: 3/23/2020(UTC) Posts: 0 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.
|
|
|
|
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.