bumblebeeC / subtext

Automatically exported from code.google.com/p/subtext
0 stars 0 forks source link

Performance Tuning #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The start-up time and working set for Subtext is pretty bad, especially 
when compared to other .NET apps. There's some improvements we can make to 
improve start-up and working set that will also help in raw perf.

XML Serialization - This leaves a lot of dynamically compiled assemblies 
around. Either change to XmlReader or use sgen.exe to pre-compile XML 
serialization.

Regex Precompilation - Look for opportunities to precompile Regex or 
replace with non-regex where appropriate.

SqlHelper - Might want to use SqlConnection directly. There appears to be 
some byte[] leaking going on here.

InstallerCheckModule - the database call should happen once per AppDomain. 
We can look at lock friendly way to check for this such as a static bool.

Precompilation - need to test precompilation scenarios and perhaps deploy 
as precompiled app.

Original issue reported on code.google.com by haac...@gmail.com on 15 Sep 2009 at 5:27

GoogleCodeExporter commented 8 years ago
re: InstallerCheckModule.

One option would be to leverage our container & its ability to manage object 
life
cycle for us. For example, creating an IInstallerCheckMemento interface &
implementation that is cached as a Singleton & used to encapsulate the "does an
upgrade/install need to happen" stuff.

-steve

Original comment by steveharman on 15 Sep 2009 at 5:35

GoogleCodeExporter commented 8 years ago

Original comment by haac...@gmail.com on 20 Jan 2010 at 7:25

GoogleCodeExporter commented 8 years ago
Moving this to Milestone 2.6. I've done a lot of perf tuning. I think we're 
done for 
this release. :)

Original comment by haac...@gmail.com on 9 May 2010 at 6:11

GoogleCodeExporter commented 8 years ago

Original comment by haac...@gmail.com on 20 Nov 2011 at 5:16