Re: Compiler performance tests on FreeBSD 10.0-CURRENT

看板FB_current作者時間13年前 (2012/09/08 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串17/24 (看更多)
On Tue, Sep 04, 2012 at 11:59:39PM +0200, Dimitry Andric wrote: > On 2012-09-04 23:43, Steve Kargl wrote: > >On Tue, Sep 04, 2012 at 10:39:40PM +0200, Dimitry Andric wrote: > >>I recently performed a series of compiler performance tests on FreeBSD > >>10.0-CURRENT, particularly comparing gcc 4.2.1 and gcc 4.7.1 against > >>clang 3.1 and clang 3.2. > ... > >The benchmark is somewhat meaningless if one does not > >know the options that were used during the testing. > > If you meant the compilation options, those were simply the FreeBSD > defaults for all tested programs, e.g. "-O2 -pipe", except for boost, > which uses "-ftemplate-depth-128 -O3 -finline-functions". I will add > some explicit notes about them. Yes, I meant the options specified on the compiler command line. 'gcc -O0 -pipe' compiles code faster than 'gcc -O3 -save-temps', and the former uses much less memory. -- Steve _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1GIjyjBD (FB_current)
討論串 (同標題文章)
文章代碼(AID): #1GIjyjBD (FB_current)