由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - 运行时间比较
相关主题
Help: Another C++ compilation error on GCC[合集] MS interview question
这年头做web 做mobile的是主流啊Cannot use my own container as the underlying container of a stack? (c++)
xcode 6.1 is outInterview question: is the following code OK?
zhaoce 师傅?没oc基础 能直接学swift做app么?g++编译了不该过的C++代码
打算买个基础型号的mac mini来做开发请各位大牛指点,感激不尽 : Python Script 关于登录 mitbbs 的问题
error while building gcc有没有能在单台机子上调试mpi程序的simulator? (转载)
Partitioning (转载)stdbool.h及其他
如何GDB调试因pthread_cond_wait()阻塞的线程? (转载)C -> assembly
相关话题的讨论汇总
话题: os话题: gcc话题: memory话题: 运行话题: using
进入Programming版参与讨论
1 (共1页)
D*******a
发帖数: 3688
1
有两台机器:
A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
运行时间差很远
A只用了2:21,但是B却用了5:51
按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?
d***y
发帖数: 65
2
how did you measure the time?

【在 D*******a 的大作中提到】
: 有两台机器:
: A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
: B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
: 用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
: 运行时间差很远
: A只用了2:21,但是B却用了5:51
: 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?

D*******a
发帖数: 3688
3
time命令

【在 d***y 的大作中提到】
: how did you measure the time?
t****t
发帖数: 6806
4
缺省优化开关的不同?
比如i386和i686的区别?

【在 D*******a 的大作中提到】
: 有两台机器:
: A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
: B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
: 用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
: 运行时间差很远
: A只用了2:21,但是B却用了5:51
: 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?

n******t
发帖数: 4406
5
不优化的时候是不是还市这样?

【在 D*******a 的大作中提到】
: 有两台机器:
: A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
: B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
: 用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
: 运行时间差很远
: A只用了2:21,但是B却用了5:51
: 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?

a****l
发帖数: 8211
6
You are running MacOS on a Intel computer?? Are you sure you are using
native OS instead of a simulator?
Seems your finding is useful, but Steve is going to hate you.

【在 D*******a 的大作中提到】
: 有两台机器:
: A: P4-2.6GHT, 512M memory, Fedora 8, GCC 4.1.2
: B: P4-2.8GHT, 1.5G memory, Mac OS X 10.5.2, GCC 4.0.1 (Xcode)
: 用-O3编译同一个程序(min cut graph partitioning using simulated annealing)
: 运行时间差很远
: A只用了2:21,但是B却用了5:51
: 按道理B应该运算能力更强,可是实际上却差那么远,怎么解释呢?

t****t
发帖数: 6806
7
OS X早就port到x86了

【在 a****l 的大作中提到】
: You are running MacOS on a Intel computer?? Are you sure you are using
: native OS instead of a simulator?
: Seems your finding is useful, but Steve is going to hate you.

h****e
发帖数: 2125
8
俺们几年前就把jobs拿下了,OK?

【在 a****l 的大作中提到】
: You are running MacOS on a Intel computer?? Are you sure you are using
: native OS instead of a simulator?
: Seems your finding is useful, but Steve is going to hate you.

a****l
发帖数: 8211
9
hehe, you got the point.

【在 t****t 的大作中提到】
: OS X早就port到x86了
1 (共1页)
进入Programming版参与讨论
相关主题
C -> assembly打算买个基础型号的mac mini来做开发
发一个在windows vista 上install Ubuntu 的方法error while building gcc
windows下的Gcc界面叫什么来?Partitioning (转载)
GCC Benchmarks, AMD64 and i686 (zz)如何GDB调试因pthread_cond_wait()阻塞的线程? (转载)
Help: Another C++ compilation error on GCC[合集] MS interview question
这年头做web 做mobile的是主流啊Cannot use my own container as the underlying container of a stack? (c++)
xcode 6.1 is outInterview question: is the following code OK?
zhaoce 师傅?没oc基础 能直接学swift做app么?g++编译了不该过的C++代码
相关话题的讨论汇总
话题: os话题: gcc话题: memory话题: 运行话题: using