mirror of
https://github.com/kingToolbox/WindTerm.git
synced 2026-08-18 10:33:28 +08:00
Add urandom_test.sh
This commit is contained in:
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; }
|
||||
Reference in New Issue
Block a user