dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #13757
Re: [HG DOLFIN] Rerun benchmark after change from std::vector to std::set in SparsityPattern.
On Mon, Jun 01, 2009 at 03:50:19PM +0100, Garth N. Wells wrote:
>
>
> DOLFIN wrote:
> > One or more new changesets pushed to the primary dolfin repository.
> > A short summary of the last three changesets is included below.
> >
> > changeset: 6246:eaa1e745ef37140f7c0edb7180e1d494b9145632
> > tag: tip
> > user: Anders Logg <logg@xxxxxxxxx>
> > date: Mon Jun 01 16:44:47 2009 +0200
> > files: bench/fem/assembly/cpp/bench.log
> > description:
> > Rerun benchmark after change from std::vector to std::set in SparsityPattern.
> > Deleting sparsity pattern seems to take much longer.
> >
>
> I didn't look at the delete phase because I didn't expect it to be an
> issue. Why is deleting slow?
I don't know but I'm starting to remember that's why we switched to
std::vector a year back.
--
Anders
>
> Garth
>
> >
> > changeset: 6245:30c1540b12097130e3ed48ed572819471c884a7b
> > user: "Garth N. Wells <gnw20@xxxxxxxxx>"
> > date: Mon Jun 01 15:06:26 2009 +0100
> > files: dolfin/la/EpetraSparsityPattern.cpp dolfin/la/EpetraSparsityPattern.h dolfin/la/GenericSparsityPattern.h dolfin/la/SparsityPattern.cpp dolfin/la/SparsityPattern.h dolfin/la/uBLASMatrix.h
> > description:
> > Use std::set in SparsityPattern.
> >
> > Some performance issues seem to have been resolved with std::set.
> >
> > std::tr1::unsorted_set is faster, but requires some effort to sort. Sorting is only relevant to the uBLAS backend at this point.
> >
> >
> > changeset: 6244:ac9097f5f1f9877a65d30a44ce14679636a3fe26
> > user: Anders Logg <logg@xxxxxxxxx>
> > date: Mon Jun 01 00:01:06 2009 +0200
> > files: dolfin/common/real.cpp dolfin/common/real.h dolfin/math/Lagrange.cpp dolfin/math/Legendre.cpp dolfin/ode/Dependencies.cpp dolfin/ode/MonoAdaptiveFixedPointSolver.cpp dolfin/quadrature/GaussQuadrature.cpp dolfin/quadrature/LobattoQuadrature.cpp dolfin/quadrature/RadauQuadrature.cpp
> > description:
> > Fix abs --> real_abs problems when running without GMP
> >
> > ----------------------------------------------------------------------
> > For more details, visit http://www.fenics.org/hg/dolfin
> > _______________________________________________
> > DOLFIN-dev mailing list
> > DOLFIN-dev@xxxxxxxxxx
> > http://www.fenics.org/mailman/listinfo/dolfin-dev
>
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
Attachment:
signature.asc
Description: Digital signature
References