This is an automated email from the ASF dual-hosted git repository.

colinlee pushed a commit to branch bench_mark
in repository https://gitbox.apache.org/repos/asf/tsfile.git

commit d035064e02f0a0cdb7d3696d6363f387223239fb
Author: ColinLee <[email protected]>
AuthorDate: Wed Apr 9 15:11:36 2025 +0800

    benchMark tmp.
---
 cpp/bench_mark/build.sh         | 12 ------------
 cpp/bench_mark/src/bench_conf.h |  6 +++---
 2 files changed, 3 insertions(+), 15 deletions(-)

diff --git a/cpp/bench_mark/build.sh b/cpp/bench_mark/build.sh
index e0e4b0cb..c8c534f7 100644
--- a/cpp/bench_mark/build.sh
+++ b/cpp/bench_mark/build.sh
@@ -18,20 +18,8 @@
 #
 
 build_type=Debug
-env_for_cyber=0
 use_cpp11=1
 
-if [[ ${env_for_cyber} -eq 1 ]]
-then
-  export PATH=$PATH:~/dev/gcc-linaro-5.5.0-2017.10-x86_64_arm-linux-gnueabi/bin
-  export CROSS_COMPILE=arm-linux-gnueabi-
-  export ARCH=arm
-  export CC=${CROSS_COMPILE}gcc
-  export CXX=${CROSS_COMPILE}g++
-  echo "set up gcc for cyber"
-fi
-
-
 if [ ${build_type} = "Debug" ]
 then
   mkdir -p build/Debug
diff --git a/cpp/bench_mark/src/bench_conf.h b/cpp/bench_mark/src/bench_conf.h
index 98ddc35e..ef5a43a5 100644
--- a/cpp/bench_mark/src/bench_conf.h
+++ b/cpp/bench_mark/src/bench_conf.h
@@ -24,9 +24,9 @@
 
 namespace bench {
 static int tablet_num = 1000;
-static int tablet_row_num = 10000;
-static int tag_num = 2;
-static std::vector<float> diversity_rate = {0.5f, 0.5f};
+static int tag1_num = 10;
+static int tag2_num = 10;
+static int timestamp_per_tag = 1000;
 static std::vector<int> field_type_vector = {1, 1, 1, 1, 1};
 }  // namespace bench
 

Reply via email to