minimize render

  • Hello
    I'm doing tests to minimize rendering time. The example is using chrome recipe, handelbars, header and footer in each sheet and they are 10 sheets.
    Using the .net SDK

    I compressed the css, js, html, remove the images and it takes an average of 4.6 seconds to render. I need to lower it to 3 seconds.

    Any recommendation?

  • Please try to write down the logs so we can see where jsreport spends the most of the time. In .net client it would be something like

    var invoiceReport = await rs.RenderAsync(new RenderRequest()
        Template = new Template()
            Name = "Invoice"
        Data = InvoiceData,
        Options = new RenderOptions()
            Debug = new DebugOptions()
                LogsToResponse = true
    using (var fileStream = File.OpenWrite("logs.txt"))

    Or try to create demo in playground.

    Quite likely the report rendering spends the most of the time in chrome and there is not much to do. However perhaps there is something else you could do...

Log in to reply

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.