On Mon, Jul 5, 2010 at 2:02 PM, Serge Wroclawski <emac...@gmail.com> wrote:

> On Mon, Jul 5, 2010 at 8:48 PM, Ian Dees <ian.d...@gmail.com> wrote:
> > I'd be happy to look at the code, but XML parsing is no the slow part:
> > writing to the format that Mongo expects (BSON) is.
>
> To be fair, we never entirely established that (did we?). The BSON
> encoder part of the MongoDB library we're using is in C. If it's still
> slow beyond that, it seems like it's something to take up in the
> Python C based MongoDB BSON encoder...
>
>
Yep, I ran an import of section of Minnesota with a profiler attached and
the CPU time was mostly spent on BSON related stuff.

It could be that when i was profiling it wouldn't use the C extensions,
though.
_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to