﻿<?xml version="1.0" encoding="utf-8"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0"><channel><title>Intersoft Community - WebTextEditor - High CPU usage on big html content</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/High-CPU-usage-on-big-html-content/</link><description /><generator>http://www.intersoftsolutions.com</generator><language>en</language><copyright>Copyright 2002 - 2015 Intersoft Solutions Corp. All rights reserved.</copyright><ttl>60</ttl><item><title>High CPU usage on big html content</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/High-CPU-usage-on-big-html-content/</link><pubDate>Mon, 25 Jul 2016 07:27:41 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please find the sample in the attachment. I have added the required assembly files in the Bin folder.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please feel free to let me know if you have different result.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>High CPU usage on big html content</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/High-CPU-usage-on-big-html-content/</link><pubDate>Fri, 22 Jul 2016 20:02:20 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Hi Yudi,&lt;/p&gt;&lt;p&gt;can you send me your sample application, I will do some test on my end.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Alex&lt;/p&gt;</description></item><item><title>High CPU usage on big html content</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/High-CPU-usage-on-big-html-content/</link><pubDate>Wed, 20 Jul 2016 02:59:01 GMT</pubDate><dc:creator>yudi</dc:creator><description>&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I modified SaveAndLoadContentToFile.aspx sample file of WebTextEditor and load provided sample content by invoking LoadContentFromFile(string fileName, bool isCompleteHTML) method in button click event. Save the changes and view the page in Chrome 51 with CPU Profiling started.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="color: #1f497d;"&gt;I checked on the regex function in WebTextEditor_Helper.js  in WebTextEditorConvertEngine.ConvertToXHTML, and found that it took 254.2 ms. I enclosed the CPU Profile (as attachment) for your reference.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;The test was performed on: WebTextEditor 3 (3.0.1000.18); WebUI.NET Framework 3.0 (3.0.5000.975); and Chrome 51.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color: #1f497d;"&gt;Please feel free to let me know if you find anything that I might miss during my attempt to reproduce the reported problem.&lt;/span&gt;&lt;/p&gt;</description></item><item><title>High CPU usage on big html content</title><link>http://www.intersoftsolutions.com/Community/WebTextEditor/High-CPU-usage-on-big-html-content/</link><pubDate>Thu, 14 Jul 2016 20:06:45 GMT</pubDate><dc:creator>aliard@sigma-rh.com</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;&lt;p&gt;We noticed a very high CPU usage when processing big html document with WebTextEditor.&lt;/p&gt;&lt;p&gt;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 &amp;nbsp;in&amp;nbsp;WebTextEditorConvertEngine.ConvertToXHTML.&lt;/p&gt;&lt;p&gt;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.&lt;/p&gt;&lt;p&gt;Regards,&lt;/p&gt;&lt;p&gt;Alex&lt;/p&gt;</description></item></channel></rss>