Socket
Book a DemoInstallSign in
Socket

cloud-bench

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloud-bench

CLI to benchmark the CPU, network and disk performance of cloud servers over time.

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

Description

node-cloud-bench is a small CLI utility written with Node.js that allows for easy benchmarking of cloud servers, specifically to test CPU performance, network speeds and disk IOPS. When it comes to cloud computing, seeing how consistent the values are over time is just as important as the values themselves, which is why you can specify an interval, length of the test and a location to output a CSV file with the results.

The results collected include:

  • Network CDN Download (Mbps)
  • Network Ping (seconds)
  • Network Download (Mbps)
  • Network Upload (Mbps)
  • CPU Time (seconds)
  • Read IOPS
  • Write IOPS
  • I/O Ping

Installation

npm install cloud-bench

This script makes use of the following dependencies that you may need to install:

  • fio
  • ioping

Usage

node cloud-bench \
    --interval [seconds between tests] \
    --limit [number of iterations] \
    --nodisk
    --out [output filename]

The below command will run performance tests every 30 minutes for 24 hours.

node cloud-bench \
    --interval 1800 \
    --limit 48 \
    --out results.csv

Sample output:

TimeDownload (CDN)PingDownloadUploadCPU TimeRead IOPSWrite IOPSIO Ping
Mon Apr 02 2018 21:35:05 GMT-0500 (CDT)3228491123.387379361842815.4us

If you are running these tests on a remote machine, it is recommended to pair it with something like forever to turn the test into a daemon.

License

Copyright (c) 2018 James Simpson and GoldFire Studios, Inc.

Released under the MIT License.

Keywords

cloud

FAQs

Package last updated on 14 Mar 2022

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.