High CPU usage on big html content

3 replies. Last post: July 25, 2016 7:27 AM by Yudi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi,

We noticed a very high CPU usage when processing big html document with WebTextEditor.

We did a profiling with Chrome and we were able to target that the issue is a replace made with a regex in WebTextEditor_Helper.js  in WebTextEditorConvertEngine.ConvertToXHTML.

You can try it with the HTML content I attached in a txt file. I also provided you the profiling session I used in Chrome, you will be able to see the stack where it takes more than 40 sec.

Regards,

Alex

All times are GMT -5. The time now is 11:55 AM.
Previous Next