[OSM-dev] [novice] osm2pgsql: mac os x: faster with compiler optimized flag -fast instead of -O2

Martijn van Oosterhout kleptog at gmail.com
Mon Feb 9 14:53:19 GMT 2009

On Mon, Feb 9, 2009 at 3:38 PM, Ceriel Jacobs <cerieljacobs at gmail.com> wrote:
> The osm2pgsql performance difference when loading a 1.457.533.013
> bytes, 11 january 2009 dated, planet-nl-latest.osm:
> r13576 with -O2: 11 minutes 04 seconds
> r13632 with -fast: 10 minutes 47 seconds
> This is a not so shocking 2.5% speed increase.

Impressive. Makes you wonder where the time is actually going. Should
break out the profiler one of these days.

Have a ncie day,
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/

More information about the dev mailing list