In desktop apps i use to do the config during splash screen in a separate
thread, in general i have 4/5 seconds until the user which just did double
click ends writing his username and password, so i'm always faster than
that...
Gustavo.
On Wed, Mar 31, 2010 at 1:27 PM, Visar Uruqi wrote:
> I t
I tried the serialization and deserialization
and WOW it has shorten the startup a lot,
By the way I'm developing a desktop application
that's why the startup thing matters to me.
How do you guys measure the duration of these operations
in seconds and miliseconds, I'm curios to know,
do you use an
Deserialization is faster
FNH : 04.360
ConfORM : 00.958 (with hibernate.cfg.xml)
Deserialization: 00.283
Time in second measured to have a full configured configuration ready to
BuildSessionFactory
2010/3/30 Ajai Shankar
> Out of curiosity, in the grand scheme of things what difference does
>
Out of curiosity, in the grand scheme of things what difference does shaving
maybe a couple of seconds? on startup make...
Ajai
On Tue, Mar 30, 2010 at 3:11 PM, Fabio Maulo wrote:
> we are going to check how much faster is the configuration-deserialization
> over add-Xml-Deserialized
>
> 2010/3
we are going to check how much faster is the configuration-deserialization
over add-Xml-Deserialized
2010/3/30 Ricardo Peres
> Visar,
>
> In order to fasten startup time, you can serialize the Configuration
> object:
>
> Configuration cfg = new Configuration().Configure();
> IFormatter serialize
Visar,
In order to fasten startup time, you can serialize the Configuration
object:
Configuration cfg = new Configuration().Configure();
IFormatter serializer = new BinaryFormatter();
using (Stream stream = File.OpenWrite("Configuration.serialized"))
{
serializer.Serialize(stream, configurat