azure-sdk-for-js/sdk/storage/perf-tests/storage-file-datalake/README.md

775 B

Guide

  1. Build the storage-blob perf tests package rush build -t perf-storage-file-datalake.
  2. Copy the sample.env file and name it as .env.
  3. Create a storage account and populate the .env file with STORAGE_CONNECTION_STRING variable.
  4. Run the tests as follows
    • append
      • npm run perf-test:node -- StorageDFSAppendTest --warmup 2 --duration 7 --iterations 2 --parallel 2
    • read
      • npm run perf-test:node -- StorageDFSReadTest --warmup 2 --duration 7 --iterations 2 --parallel 2
    • upload
      • npm run perf-test:node -- StorageDFSUploadTest --warmup 2 --duration 7 --iterations 2 --parallel 2
    • upload from file
      • npm run perf-test:node -- StorageDFSUploadFromFileTest --warmup 2 --duration 7 --iterations 2 --parallel 2