This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
pxz-hos-client-cpp-module/example/data/test_size.sh

19 lines
645 B
Bash
Raw Normal View History

2020-09-21 19:19:18 +08:00
#########################################################################
# File Name: test_times.sh
# Author: pxz
# Created Time: Mon 21 Sep 2020 04:43:35 PM CST
#########################################################################
#!/bin/bash
2020-10-09 14:19:37 +08:00
test_size=("1k" "10k" "100k" "1M" "2M" "3M" "4M" "5M" "10M" "20M" "30M")
2020-09-21 19:19:18 +08:00
num=0
2020-10-09 14:19:37 +08:00
while((${num} < 11))
2020-09-21 19:19:18 +08:00
do
2020-10-09 14:19:37 +08:00
#echo ./hos_write_complete mybucket ${test_size[$num]}.data 10000
#./hos_write_complete mybucket ${test_size[$num]}.data 10000
echo ./hos_upload_complete mybucket ${test_size[$num]}.data 10000
./hos_upload_complete mybucket ${test_size[$num]}.data 10000
2020-09-21 19:19:18 +08:00
let "num++"
done