azure-sdk-for-js/sdk/storage/perf-tests/storage-file-datalake
Jeremy Meng 1cae9db8e1 [EngSys] remove "audit" NPM script and it's related file
as we no longer use it and rely on GitHub security features.

***NO_CI***
2024-10-25 19:28:06 +00:00
..
test [EngSys] standardize OSS copyright header 2024-08-27 13:01:38 -07:00
README.md [Perf Tests] [Storage] Porting storage-file-share and storage-file-datalake perf tests to the latest model (#14075) 2021-03-04 03:47:59 +00:00
package.json [EngSys] remove "audit" NPM script and it's related file 2024-10-25 19:28:06 +00:00
sample.env [Perf Tests] [Storage] Porting storage-file-share and storage-file-datalake perf tests to the latest model (#14075) 2021-03-04 03:47:59 +00:00
tsconfig.json [EngSys] remove tsconfig.package.json 2024-07-16 13:27:25 +00:00

README.md

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