Boost logo

Boost Users :

Subject: Re: [Boost-users] Updated performance results using Boost Serialization 1.41
From: Brian Wood (woodbrian77_at_[hidden])
Date: 2009-12-07 14:17:40

Hartmut Kaiser writes:
> Our measurements show Boost.Serialization spends most of its time creating
> (constructing) archives and there it's mainly initializing the locale...

That seems a little different from what I've been testing. The test
looks like this:

  filebuf fb;"ofile", ios_base::out);
  binary_oarchive oa(fb);

  clock_t start(clock());
  oa << lst;
  clock_t end(clock());

The time to construct an oarchive is not included in the test.

Brian Wood
Ebenezer Enterprises

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at