Testing Memory Usage in EngineV1 and EngineV2
Our sample projects and report templates can help you learn the basics of working with our products.Stimulsoft ships two rendering engines. Preparing the same report on each lets you compare their memory footprint and behaviour.
Select the engine per report. Set
How it works. Both reports use the identical template; only the engine differs, so any difference in memory or speed comes purely from the rendering strategy.
Select the engine per report. Set
EngineVersion before compiling:report1.Load(stream);
report1.EngineVersion = StiEngineVersion.EngineV1;
report1.Compile();
report2.Load(stream);
report2.EngineVersion = StiEngineVersion.EngineV2;
report2.Compile();StiEngineVersion.EngineV1— the classic engine that keeps all rendered pages in memory.StiEngineVersion.EngineV2— streams pages as they render, using far less memory on large reports.
How it works. Both reports use the identical template; only the engine differs, so any difference in memory or speed comes purely from the rendering strategy.