[OSM-dev] Osmosis Replication Statistics

Brett Henderson brett at bretth.com
Thu Aug 23 11:08:41 BST 2007


On a related note, I've just uploaded a new osmosis (version 0.10) which 
fixes a performance regression in xml date parsing.

It previously used to parse approximately 70000 dates per second, it 
dropped to 4000 in the last version due to a nasty problem in the JDK 
with UTC formatted times.  I've written a custom parser for a specific 
date format (which osmosis always writes) which falls back to old date 
handling if it can't handle it.  I've also added another fallback 
processor which should handle JOSM files, it would previously barf on 
JOSM files due to the non xml schema'ish date format it uses.

The new version processes in excess of 500000 dates per second so it 
should be able to process large xml files much faster now (if they were 
written out by osmosis in the first place).






More information about the dev mailing list