cpu100

command module
v0.0.0-...-eb81b52 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 28, 2021 License: MIT Imports: 20 Imported by: 0

README

cpu100

Creates 100% CPU utilization for testing.

Helps to detect how much hashes or signatures can be computed maximum per second. Requests to services uses JWT for authorized access, so test can detect limit of empty authorized requests without any overhead that service can receive.

Command line parameters:

-a string
    hash or signature algorithm, can be: md5, sha1, sha224, sha256, sha384, sha512, sha512/224, sha512/256, ecdsa, ed25519 (default "sha256")
-b int
    length of random bytes block to calculate for each hash (default 1024)
-d duration
    duration of program working (in format '1d8h15m30s') (default 1h30m0s)
-n int
    number of threads to start (default 8)

(c) schwarzlichtbezirk, 2021.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL