[CLOSED] CPU Performance problems on Regular Expression

  1. #1

    [CLOSED] CPU Performance problems on Regular Expression

    Hi,
    i'm still having problem of high CPU usage after some our optimization actions on our code; the following stress test done by our customer using HP Load Runner and the Microsoft Debug Diag tool (http://www.microsoft.com/en-us/downl....aspx?id=26798) showed that the problem is focused on using of regular expression, referencing to the following article :
    http://blogs.msdn.com/b/tess/archive...ght-loops.aspx
    Do you have any comments / suggestions?
    I tested the app with the visual studio performance tool; the result is shown by the images

    Click image for larger version. 

Name:	img1.jpg 
Views:	60 
Size:	64.0 KB 
ID:	5208
    Click image for larger version. 

Name:	img2.jpg 
Views:	53 
Size:	46.8 KB 
ID:	5209
    Last edited by Daniil; Dec 07, 2012 at 7:48 AM. Reason: [CLOSED]
  2. #2
    Hi,

    Do you think that 7% of Regular expression is bottleneck? Or I incorrecly understood you?
    Or do you think that we use slow regex? Can you offer more appropriate regex?

    In v2, we removed those regex from HtmlRender
    Vladimir Shcheglov
    Sr. Developer
  3. #3
    Can you update from branch/1 (it is 1.6 version, http://svn.ext.net/premium/branches/1) and retest
    We removed some regex like in v2
    Vladimir Shcheglov
    Sr. Developer
  4. #4
    Quote Originally Posted by Vladimir View Post
    Can you update from branch/1 (it is 1.6 version, http://svn.ext.net/premium/branches/1) and retest
    We removed some regex like in v2
    I'm trying to download from SVN but i've some problem with proxy authentication from workplace, i'll do it from home.
    Can i download instead from a link?
  5. #5
    Unfortunately, there is no another link to get the latest sources from SVN.

    Please note that the forums and SVN credentials are not the same.
  6. #6
    Quote Originally Posted by Daniil View Post
    Unfortunately, there is no another link to get the latest sources from SVN.

    Please note that the forums and SVN credentials are not the same.
    I know it; i accessed the web directory listing of svn with the correct credentials, but SVN throw a proxy autentication error (i used Tortoise under windows)
  7. #7
    It looks to be a Tortoise issue. Maybe, another SVN client could help.

Similar Threads

  1. [CLOSED] User Controls & Performance problems - Urgent
    By andreasperanza in forum 1.x Premium Help
    Replies: 9
    Last Post: Jun 11, 2012, 3:24 PM
  2. [CLOSED] performance problems
    By ATSistemi in forum 1.x Premium Help
    Replies: 6
    Last Post: May 25, 2010, 1:28 PM
  3. [CLOSED] Using asp expression
    By Jean-Pierre Poulin in forum 1.x Premium Help
    Replies: 2
    Last Post: Mar 19, 2010, 5:35 PM
  4. editable grid and custom validation with regular expression
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 0
    Last Post: Sep 24, 2009, 6:08 PM
  5. Update grid with Regular ADO.NET
    By sharif in forum 1.x Help
    Replies: 0
    Last Post: Jul 07, 2009, 9:19 AM

Posting Permissions