update 2 I have run it inside c# profiler: Function Name Inclusive Samples Exclusive Samples Inclusive Samples % Exclusive Samples % System.Text.RegularExpressions.Regex.Match(string,int32,int32) 9,816 9,816 53.21 53.21 System.Text.RegularExpressions.Regex.Match(string) 4,749 4,749 25.74 25.74 System.Text.RegularExpressions.Regex..ctor(string,valuetype System.Text.RegularExpressions.RegexOptions)2,592 2,592 14.05 14.05 Microsoft.Scripting.Interpreter.LightLambda.Run3(!!0,!!1,!!2)18,407 56 99.77 0.30
I think I have to look closer at how are the re mapped. On Wed, Apr 16, 2014 at 5:20 PM, Pawel Jasinski <pawel.jasin...@gmail.com>wrote: > hi, > > I have made an exercise of running asciidoc under ironpython > It turned out to be a performance disappointment. > Converting trivial document takes 30 seconds where cpython is done > under a second. > Can it be that asciidoc, which makes heavy use of regular expression, > exposes weak part of ironpython? > > Has anybody similar experience with applications using heavily re? > > Am I doing something wrong? > > > --pawel >
_______________________________________________ Ironpython-users mailing list Ironpython-users@python.org https://mail.python.org/mailman/listinfo/ironpython-users