I am running into the same problem. In my situation, it took 3.8s for
BinaryFormatter deserialization. sgen.exe tool cannot generate
NHibernate.XmlSerializer for Configuration class.

On Jun 5, 6:54 pm, Gena <[email protected]> wrote:
> Did anyone try to serialize / deserialize NHibernate Configuration and/
> or SessionFactory using protobuf-net (http://code.google.com/p/
> protobuf-net/wiki/Performance)?
>
> Just a standard binaryformatter deserialization is still too slow for
> me: 1.8 sec for BinaryFormatter deserialization vs 1.5 sec to create
> Configuration from scratch using hbm.xml, with
> NHibernate.XmlSerializers.dll generated using sgen.exe (speeds-up
> hbm.xml parsing by pre-compiling all XmlSerializers).

-- 
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en.

Reply via email to