Maciej Stachowiak írta:
On other platforms, we try to build the JavaScriptCore object files with -O3 and strict aliasing enabled, even if the rest of WebKit is not. For example, on Mac, JavaScriptCore.framework builds with "-O3 -fstrict-aliasing -fomit-frame-pointer" even though WebCore.framework builds with "-O2 -fno-strict-aliasing". So I suggest fixing this in the libQtWebKit build.
I tried building jsc, libQtWebkit and WebCore with all combination of these gcc options. Between "-O2 -fno-strict-aliasing" and "-O3" is irrelevant. (<1%) The different caused by -fPIC option, which is neccessary if building libQtWebKit shared library. The solution can be building command line jsc with -fPIC too. It will cause 12% slowdown, but the performance will be same as jsc in libQtWebKit. I think it's correct to measure SunSpider test with such jsc as in libQtWebKit, because several optimizations have different effect on different jsc's. br, Csaba Osztrogonac (Ossy) _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

