[Issue 5100] -O Degrades performance of loop statements
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jan 19 15:39:33 PST 2012
http://d.puremagic.com/issues/show_bug.cgi?id=5100
--- Comment #8 from Iain Buclaw <ibuclaw at ubuntu.com> 2012-01-19 15:39:32 PST ---
And on my netbook:
$ dmd loop2.d
$ time ./loop2
real 0m2.948s
user 0m2.924s
sys 0m0.012s
$ dmd loop2.d -O
$ time ./loop2
real 0m5.725s
user 0m5.688s
sys 0m0.012s
Specs of Netbook:
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 28
model name : Intel(R) Atom(TM) CPU N270 @ 1.60GHz
stepping : 2
cpu MHz : 800.000
cache size : 512 KB
cpu cores : 1
Specs of Laptop:
processor : 0
vendor_id : AuthenticAMD
cpu family : 20
model : 2
model name : AMD E-450 APU with Radeon(tm) HD Graphics
stepping : 0
cpu MHz : 825.000
cache size : 512 KB
cpu cores : 2
Regards
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list