[OSM-dev] OSM and CouchDB/GeoCouch
Ian Dees
ian.dees at gmail.com
Mon Jul 5 20:06:43 BST 2010
On Mon, Jul 5, 2010 at 2:02 PM, Serge Wroclawski <emacsen at gmail.com> wrote:
> On Mon, Jul 5, 2010 at 8:48 PM, Ian Dees <ian.dees at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20100705/b0a7b6b4/attachment.html>
More information about the dev
mailing list