[bug-notifications] [ruby18 0004897]: ruby 18 on sparc poorly optimized

Mantis Bug Tracker noreply at opencsw.org
Mon Feb 13 22:00:48 CET 2012


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=4897 
====================================================================== 
Reported By:                phil
Assigned To:                bwalton
====================================================================== 
Project:                    ruby18
Issue ID:                   4897
Category:                   regular use
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
====================================================================== 
Date Submitted:             2012-02-13 20:49 CET
Last Modified:              2012-02-13 22:00 CET
====================================================================== 
Summary:                    ruby 18 on sparc poorly optimized
Description: 
On the same sparc machine, on solaris 10, running the same test
(http://www.thebuzzmedia.com/ruby-19-quick-speed-test/)
takes 3 times as long as a locally compiled ruby.
====================================================================== 

---------------------------------------------------------------------- 
 (0009599) phil (reporter) - 2012-02-13 22:00
 https://www.opencsw.org/mantis/view.php?id=4897#c9599 
---------------------------------------------------------------------- 
For security reasons, I cannot upload the raw data. 
However, parsing out that part, there's not much special, looking at
rbconfig.rb 

  CONFIG["configure_args"] = " ' ...   'CC=cc' 'CFLAGS=-xnorunpath -xO2'"

I believe it was compiled with sunpro 12.0

So, I suppose the basic performance flaw of csw ruby sparc , is simply that
it was compiled with gcc instead of sunpro cc



More information about the bug-notifications mailing list