Small changes to NHibernate for startup performance

XmlSchemaSet used in a way that avoids recompilation for each mapping
XmlSerializer classes for this version compiled into the nhibernate assembly

--HG--
branch : perf
This commit is contained in:
Louis DeJardin
2010-11-21 19:29:50 -08:00
parent 8646db89c2
commit 2f9b067e5a
4 changed files with 13259 additions and 7 deletions

Binary file not shown.

View File

@@ -11831,6 +11831,14 @@
Comes into play whenever the user specifies the "identity" generator.
</remarks>
</member>
<member name="P:NHibernate.Dialect.Dialect.SupportsSqlBatches">
<summary>
Supports splitting batches using GO T-SQL command
</summary>
<remarks>
Batches http://msdn.microsoft.com/en-us/library/ms175502.aspx
</remarks>
</member>
<member name="T:NHibernate.Exceptions.IViolatedConstraintNameExtracter">
<summary>
Defines a contract for implementations that can extract the name of a violated
@@ -24756,13 +24764,6 @@
</summary>
<returns>The clone of the root criteria.</returns>
</member>
<member name="P:NHibernate.Impl.CurrentSessionIdLoggingContext.SessionId">
<summary>
Error handling in this case will only kick in if we cannot set values on the TLS
this is usally the case if we are called from the finalizer, since this is something
that we do only for logging, we ignore the error.
</summary>
</member>
<member name="T:NHibernate.Impl.DbCommandSet`2">
<summary>
Expose the batch functionality in ADO.Net 2.0
@@ -33948,6 +33949,12 @@
<member name="M:NHibernate.Tool.hbm2ddl.SchemaValidator.Validate">
Perform the validations.
</member>
<member name="M:NHibernate.Tool.hbm2ddl.ScriptReader.ReadNextSection">
<summary>
This acts as a template method. Specific Reader instances
override the component methods.
</summary>
</member>
<member name="T:NHibernate.Tool.hbm2ddl.SuppliedConnectionHelper">
<summary>
A <seealso cref="T:NHibernate.Tool.hbm2ddl.IConnectionHelper"/> implementation based on an explicitly supplied

View File

@@ -0,0 +1,7 @@
== nhibernate ==
https://nhibernate.svn.sourceforge.net/svnroot/nhibernate/branches/2.1.x/nhibernate
at revision #4966
applied perf-embedded-serializer-and-compiled-schema-reuse.patch
nant -t:net-3.5 -D:project.config=release

File diff suppressed because it is too large Load Diff