Sha256: 0655067ec578b233f6ab8e36959d6857f7149d5db30e53d49f3ca45abc8a5cb7

Contents?: true

Size: 618 Bytes

Versions: 66

Compression:

Stored size: 618 Bytes

Contents

#!/usr/bin/env bash

FOLDER=/Users/jadams/test_files/
TEST_FILES_PATH=${FOLDER}/files/
FILE=name
COUNT=3
SIZE=1M
SLICE=1M
TYPE=random

# Do write test of $COUNT files
$(dd if=/dev/urandom bs=${SIZE} count=${COUNT} 2> ${FILE}.measures | split -b ${SLICE} - ${TEST_FILES_PATH}${FILE}.)

dd_write=$(cat ${FILE}.measures | grep -v records | sed 's/.* s,//')
echo ${dd_write}


FILES=$(find ${TEST_FILES_PATH} -type f -print)

for f in $FILES; do
  # echo "Processing $f file..."
  dd_read+=$(dd if=${f} of=/dev/null 2>&1 | grep -v records | sed 's/.* s,//')
done

echo ${dd_read}

cd ..
rm -f ${TEST_FILES_PATH}${FILE}\.*

Version data entries

66 entries across 65 versions & 3 rubygems

Version Path
j1-template-2021.0.4 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2021.0.3 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2021.0.2 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2021.0.1 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2021.0.0 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2020.0.25 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2020.0.24 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2020.0.22 lib/starter_web/collections/posts/public/series/_posts/_includes/documents/loop.sh
j1-template-2020.0.21 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.21 lib/starter_web/collections/posts/public/series/_posts/includes/documents/loop.sh
j1-template-2020.0.20 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.19 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.18 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.17 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.16 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.15 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.14 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.13 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.12 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh
j1-template-2020.0.11 lib/starter_web/collections/posts/public/series/_posts/000_includes/documents/loop.sh