From: Roger (JIRA) <nh...@gm...> - 2011-06-21 11:51:16
|
Perf - reusing same regex object in joinwalker objects ------------------------------------------------------ Key: NH-2774 URL: http://216.121.112.228/browse/NH-2774 Project: NHibernate Issue Type: Patch Components: Core Affects Versions: 3.2.0Beta2 Reporter: Roger Priority: Minor Attachments: joinwalkerRegexPerf.patch, perfRegExStatic.PNG When upgrading, my test suite took approx 17% longer to run (most of the overhead time spent when building session factory). This was caused when creating regex objects in joinwalker. Now reusing same instance instead, the overhead is gone. Adding snippet from dotTrace as attachment. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://216.121.112.228/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira |