DocumentBuilder.BuildDocument gives Lag in application

Home Forums Open-Xml-PowerTools DocumentBuilder.BuildDocument gives Lag in application

Tagged: 

This topic contains 2 replies, has 2 voices, and was last updated by  Qwerty 6 years, 1 month ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7663

    Qwerty
    Participant

    I am facing performance issue using DOcumentBuilder.BuildDocument in OpenXMl 2.7.2 and PowerTool 4.5.3.2

    DocumentBuilder.BuildDocument(sources, path);

    SO this works fine in generating but after process leave the server its takes lots of time to get refreshed in front end.I checked DiagnosticTool .. Its give lots of The thread has existed with code 0( 0X0).

    How to improve the application Lag

    #7664

    Eric White
    Keymaster

    Hi, I am somewhat doubtful that the delay that you see is caused by DocumentBuilder. I suggest that you do some logging, and further diagnostics to determine what is causing the delay.

    #7666

    Qwerty
    Participant

    As a part of troubleshooting, I run the same code without the Documentbuilder and with DocumentBuilder. The Lag comes only when I have DocumentBuilder. I used Diagnostic Tool to see whats happening in between controller return and when the control is reaching client side Javascript code on success method.

    Program Output: The thread 0x54dc has exited with code0( 0X0)
    Program Output: The thread 0x60ac has exited with code0( 0X0)
    Program Output: The thread 0x1b88 has exited with code0( 0X0)
    Program Output: The thread 0x3974 has exited with code0( 0X0)

    The error keep getting logged for approx 20 sec

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.