npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

camus-test

v0.1.8

Published

A little utility for testing the CAMUS prototype

Downloads

6

Readme

camus-test

A little utility for testing the CAMUS prototype

Install

Install it with

npm install camus-test

Usage

Usage:
    camus-test distribution [ -n N ] ( -u URL ) ( -d DATA ) ( -g TAG ) [ -e ] [ -l LAMBDA ] [ -t TYPE ] [ -q ]
    camus-test service-time [ -n N ] ( -u URL ) ( -d DATA ) ( -g TAG ) [ -e ] [ -q ]
    camus-test ( -h | --help )

Options:
    -h, --help              help for camus-test
    -n, --numreq N          number of requests             [default: 10]
    -l, --lambda LAMBDA     arrival rate (Req/s)           [default: 1]
    -t, --type TYPE         arrival time distribution      [default: fixed]
    -u, --url URL           url endpoint
    -d, --datafile DATA     file with request payloads
    -g, --tag TAG           payload to use
    -e, --get               use HTTP get
    -q, --graphql           make GraphQL query

Commands:
    service-time            measure service time (back-to-back requests)
    distribution            measure response time

Arguments:
    DATA                    file with the request payloads

Description:

    The following arrival rate distributions are available:

    - 'fixed': arrivals occur at fixed regular intervals (uses the parameter LAMBDA to specify the rate).

    - 'exponential': uses parameter LAMBDA which is interpreted as the average number of
    requests per second. The exponential distribution occurs when describing the
    lengths of the inter-arrival times in a homogeneous poisson process
    (arrivals are independent).

    DATA should be of the type [ { "tag": STRING, "payload": { REQUEST } ].

Author

  • Vittorio Zaccaria

License

Released under the BSD License.


Bug fixes

  • readme location -- [Apr 22nd 16](../../commit/0e8ec483d066efce116aada26abd481dbaccd1a7)
  • freeze dependencies -- [Apr 21st 16](../../commit/d5d4c41da4af22d3bed51df8af9bc1668692b8e5)
  • cast number of requests to int -- [Jan 15th 16](../../commit/f87bff3e456a98aabc8212b04ed2f2aee518f9e1), [Jan 15th 16](../../commit/77dd208f636f4ad0f94bd34d4615ec5027b4ebd0)
  • fix number of requests -- [Jan 15th 16](../../commit/7b5d84a7ad6f3e68099486bff502caf359f80c8b)
  • use correct scale factor for computing milliseconds -- [Jan 15th 16](../../commit/7527e75213e7b47b4f62eccd798095d602e920ed)