Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

azspeedtest

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

azspeedtest

Tests the upload speed to Azure blob storage. This takes a URL to a blob container with a SAS in parameter, then tests speed for various scenarios

  • 1.0.3
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Tests the upload speed to Azure blob storage. This takes a URL to a blob container with a SAS in parameter, then tests speed for:

  • uploading one file as a block,
  • one file in parallel chunks,
  • several files and in parallel.

Install

npm install -g azspeedtest

Usage

Pre-requisite: Generate a shared access signature for a blob container. The SAS must have write and delete access to the container. Create a container for that purpose. It will look like: https://myaccount.blob.core.windows.net/speed-test?st=2018-04-09T12%3A49%3A00Z&se=2018-05-10T12%3A49%3A00Z&sp=rwdl&sv=2017-04-17&sr=c&sig=%2BnH4OrCflkgdldiqjZcLCvHZAFbR19ISrTGLk1oVmPQ%3D`.

azspeedtest --url="<URL WITH SAS>" --size=10 --chunks=5

#### OUTPUTS:
# Upload one 10MB file as a block: 1.52 Mb/s...
# Upload one 10MB file in 5 chunks: 1.54 Mb/s...
# Upload 5 x 2MB files in parallel: 1.48 Mb/s...
# Done                           .

The command also writes a result file in the container.

Options:

  • url specifies the URL with SAS to the container
  • size specifies the upload size in MB. Defaults to 10MB.
  • chunks specifies the decomposition level in chunks. I.e. it will upload the file in x chunks, and x files in parallel. Defaults to 4.
  • no-cleanup prevents cleanup at the end of the test

FAQs

Package last updated on 19 Nov 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc