mirror of
https://github.com/kingToolbox/WindTerm.git
synced 2025-01-29 06:40:31 +08:00
Add urandom_test.sh
This commit is contained in:
parent
37835a056a
commit
831db78af2
6
benchmark/urandom_test.sh
Normal file
6
benchmark/urandom_test.sh
Normal file
@ -0,0 +1,6 @@
|
||||
# Generate 100MB data.
|
||||
if [ ! -f "./benchmark_randomdata" ];then
|
||||
cat /dev/urandom | base64 | dd of=./benchmark_randomdata bs=1024 count=100KB
|
||||
fi
|
||||
echo "Benchmark Result:"
|
||||
{ time dd if=./benchmark_randomdata bs=10240; }
|
Loading…
Reference in New Issue
Block a user