增加 performan 测试
This commit is contained in:
BIN
example/performance/file/100k.data
Normal file
BIN
example/performance/file/100k.data
Normal file
Binary file not shown.
BIN
example/performance/file/10M.data
Normal file
BIN
example/performance/file/10M.data
Normal file
Binary file not shown.
BIN
example/performance/file/10M.txt
Normal file
BIN
example/performance/file/10M.txt
Normal file
Binary file not shown.
BIN
example/performance/file/10k.data
Normal file
BIN
example/performance/file/10k.data
Normal file
Binary file not shown.
BIN
example/performance/file/1M.data
Normal file
BIN
example/performance/file/1M.data
Normal file
Binary file not shown.
BIN
example/performance/file/1k.data
Normal file
BIN
example/performance/file/1k.data
Normal file
Binary file not shown.
BIN
example/performance/file/20M.data
Normal file
BIN
example/performance/file/20M.data
Normal file
Binary file not shown.
BIN
example/performance/file/2M.data
Normal file
BIN
example/performance/file/2M.data
Normal file
Binary file not shown.
BIN
example/performance/file/30M.data
Normal file
BIN
example/performance/file/30M.data
Normal file
Binary file not shown.
BIN
example/performance/file/3M.data
Normal file
BIN
example/performance/file/3M.data
Normal file
Binary file not shown.
BIN
example/performance/file/4M.data
Normal file
BIN
example/performance/file/4M.data
Normal file
Binary file not shown.
BIN
example/performance/file/5M.data
Normal file
BIN
example/performance/file/5M.data
Normal file
Binary file not shown.
15
example/performance/file/c.sh
Executable file
15
example/performance/file/c.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#########################################################################
|
||||
# File Name: c.sh
|
||||
# Author: pxz
|
||||
# Created Time: Tue 13 Oct 2020 06:28:57 PM CST
|
||||
#########################################################################
|
||||
#!/bin/bash
|
||||
size=("1k" "10k" "100k" "1M" "2M" "3M" "4M" "5M" "10M" "20M" "30M")
|
||||
|
||||
num=0
|
||||
|
||||
while((${num} < 11))
|
||||
do
|
||||
truncate -s ${size[$num]} ${size[$num]}.data
|
||||
let "num++"
|
||||
done
|
||||
BIN
example/performance/file/file/1024k.data
Normal file
BIN
example/performance/file/file/1024k.data
Normal file
Binary file not shown.
BIN
example/performance/file/file/1M.data
Normal file
BIN
example/performance/file/file/1M.data
Normal file
Binary file not shown.
BIN
example/performance/file/file_0
Normal file
BIN
example/performance/file/file_0
Normal file
Binary file not shown.
BIN
example/performance/file/test.txt
Normal file
BIN
example/performance/file/test.txt
Normal file
Binary file not shown.
Reference in New Issue
Block a user