Why does SAP Crystal Report load very slowly for the first time only?

Can anyone know why an SAP Crystal report loads very slowly even with a simple report for the first time, after it loads quickly and what is the solution to overcome it?

+4
source share
1 answer

If you display a crystal report using the .net platform, the first time the form is loaded, it will be slow due to the JIT compiler generating machine code.

We have finished running the report when the main program starts, so that subsequent reports are faster.

  • The report opens with a minimum value so that you do not see it.
  • There is a flag that is set so that once it is loaded, it will be closed from .net.
  • This is a report in which there is nothing more than text. No connections to server or anything.

A more detailed explanation of what happens with JIT compilation

Answer the question when JIT compiles

+2
source

Source: https://habr.com/ru/post/1440784/


All Articles