From 58e004a2d2e7fcf21e8277de6218e00e10edab99 Mon Sep 17 00:00:00 2001 From: "chao.qianc" Date: Tue, 4 Dec 2018 23:14:00 +0800 Subject: [PATCH] version 5.1.5 --- UnixBench/README | 5 +++++ UnixBench/src/whets.c | 1 + unixbench.sh | 16 ++++++++-------- 3 files changed, 14 insertions(+), 8 deletions(-) diff --git a/UnixBench/README b/UnixBench/README index f2c59ce..fc6b6bf 100644 --- a/UnixBench/README +++ b/UnixBench/README @@ -27,6 +27,11 @@ For information on adding tests into the benchmark, see "WRITING_TESTS". ===================== RELEASE NOTES ===================================== +v5.1.5 +Optimize whets.c: +When the main frequency of the CPU is higher, the time of N8 process is nonlinear. +More infomation, you can see: https://yq.aliyun.com/articles/674732 + ======================== JUN 2 2018 ========================== v5.1.4 Optimize contetxt1.c: diff --git a/UnixBench/src/whets.c b/UnixBench/src/whets.c index 7829bb7..5a7bac5 100644 --- a/UnixBench/src/whets.c +++ b/UnixBench/src/whets.c @@ -747,6 +747,7 @@ char *argv[]; { for (ix=0; ix # # Intro: https://teddysun.com/245.html # #==============================================================# @@ -25,17 +25,17 @@ fi mkdir -p ${cur_dir} cd ${cur_dir} -# Download UnixBench5.1.4 -if [ -s UnixBench-5.1.4.tar.gz ]; then - echo "UnixBench-5.1.4.tar.gz [found]" +# Download UnixBench5.1.5 +if [ -s UnixBench-5.1.5.tar.gz ]; then + echo "UnixBench-5.1.5.tar.gz [found]" else - echo "UnixBench-5.1.4.tar.gz not found!!!download now..." - if ! wget -c https://github.com/aliyun/byte-unixbench/releases/download/v5.1.4/UnixBench-5.1.4.tar.gz; then - echo "Failed to download UnixBench-5.1.4.tar.gz, please download it to ${cur_dir} directory manually and try again." + echo "UnixBench-5.1.5.tar.gz not found!!!download now..." + if ! wget -c https://github.com/aliyun/byte-unixbench/releases/download/v5.1.5/UnixBench-5.1.5.tar.gz; then + echo "Failed to download UnixBench-5.1.5.tar.gz, please download it to ${cur_dir} directory manually and try again." exit 1 fi fi -tar -zxvf UnixBench-5.1.4.tar.gz && rm -f UnixBench-5.1.4.tar.gz +tar -zxvf UnixBench-5.1.5.tar.gz && rm -f UnixBench-5.1.5.tar.gz cd UnixBench/ #Run unixbench