[prev in list] [next in list] [prev in thread] [next in thread] 

List:       cairo
Subject:    Re: [cairo] Cairo 1.9.2 performance
From:       Dominic Lachowicz <domlachowicz () gmail ! com>
Date:       2009-06-18 1:17:06
Message-ID: 2672cf4d0906171817j5214d6del9199cdc91464382c () mail ! gmail ! com
[Download RAW message or body]

> Incidentally, I also found that default Makefiles as created by
> configure for cairo do not include any optimization options (i.e.
> CXXFLAGS contains -O3 but this does not propagate into the actual
> compile options). Adding -O3 to compile options for 1.8.6 increased
> cairo drawing speed by about 30% (260ms vs 450ms for the same dataset,
> nice :) ). I don't know if this is by design - but perhaps it is worth
> making -O3 the default build option.

The typical way to do this is to specify different CFLAGS to configure. Eg.

CFLAGS="-O3" ./configure --prefix=/opt
_______________________________________________
cairo mailing list
cairo@cairographics.org
http://lists.cairographics.org/mailman/listinfo/cairo
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic