mcollina / heroku-buildpack-graphicsmagick

67 stars 77 forks source link

Perform compile time optimizations #5

Closed paolochiodi closed 4 years ago

paolochiodi commented 11 years ago

I observed minor performance gain in gm using the following options while configuring and building gm:

-march=core2 -mtune=core2 -O3 -funroll-loops -m32 -msse -msse2 -msse3 -msse4 -msse4.1 -msse4.2 -mmmx -mfpmath=sse

This should be set in both CXXFLAGS and CFLAGS

nb: these options where tested using gcc 4.4.3, the default version on heroku at the moment of testing

paolochiodi commented 4 years ago

Closing for inactivity