带有PI,BC和时间的小型CPU基准。

#4核心,2500 pi数字CPUBENCH 4 2500.every核心将使用100%的CPU,你可以看到他们计算它的速度有多快。如果你做了50000位以上的数字,它可能需要几小时或几天
.

0

linux命令:CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;} ;} $SCALE" "Digit: echo $CPU"; "Cores: echo }; done ; } & ^"[0-9]" -v grep | -q -l bc | 4*a(1)" "scale=${SCALE}; echo time { do $CPU`; 1 `seq in LOOP for { SCALE="${2:-5000}"; local CPU="${1:-1}"; local { CPUBENCH() CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;}rootopen.com
linux命令:CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;} ;} $SCALE" "Digit: echo $CPU"; "Cores: echo }; done ; } & ^"[0-9]" -v grep | -q -l bc | 4*a(1)" "scale=${SCALE}; echo time { do $CPU`; 1 `seq in LOOP for { SCALE="${2:-5000}"; local CPU="${1:-1}"; local { CPUBENCH() CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;}rootopen.com
qgyc 2018-03-15 04:34:48
输出

评论

相关推荐

# 4 cores with 2500 pi digits CPUBENCH 4 2500 . every core will use 100% cpu and you can see how fast they calculate it. if you do 50000 digitits and more it can take hours or days

linux命令:CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;} ;} $SCALE" "Digit: echo $CPU"; "Cores: echo }; done ; } & ^"[0-9]" -v grep | -q -l bc | 4*a(1)" "scale=${SCALE}; echo time { do $CPU`; 1 `seq in LOOP for { SCALE="${2:-5000}"; local CPU="${1:-1}"; local { CPUBENCH() CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;}rootopen.com
linux命令:CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;} ;} $SCALE" "Digit: echo $CPU"; "Cores: echo }; done ; } & ^"[0-9]" -v grep | -q -l bc | 4*a(1)" "scale=${SCALE}; echo time { do $CPU`; 1 `seq in LOOP for { SCALE="${2:-5000}"; local CPU="${1:-1}"; local { CPUBENCH() CPUBENCH() { local CPU="${1:-1}"; local SCALE="${2:-5000}"; { for LOOP in `seq 1 $CPU`; do { time echo "scale=${SCALE}; 4*a(1)" | bc -l -q | grep -v ^"[0-9]" & } ; done }; echo "Cores: $CPU"; echo "Digit: $SCALE" ;}rootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令