<commit_before>loadtest
========

Runs a load test on the selected URL or websocket. Easy to extend minimally for your own ends.

Installation
------------

Usage
-----

Run as a script to load test a URL:
  $ node loadtest.js [URL] or [websocket URL]

To get online help run without parameters:
  $ node loadtest.js

### Advanced Usage

Add your own values for concurrency, requests per second and seconds measured:
  $ node loadtest.js [concurrency [request per second [seconds measured]]] ...

## Concurrency

loadtest will create a simultaneous number of clients.

## Requests Per Second

Controls the number of requests per second for each client.

## Seconds Measured

How many seconds must be measured before showing the default latency.

License
-------

(The MIT License)<commit_msg>Added installation instructions to README.<commit_after>loadtest
========

Runs a load test on the selected URL or websocket. Easy to extend minimally for your own ends.

Installation
------------

Just run:
    $ npm install loadtest

Usage
-----

Run as a script to load test a URL:
  $ node loadtest.js [URL] or [websocket URL]

To get online help run without parameters:
  $ node loadtest.js

### Advanced Usage

Add your own values for concurrency, requests per second and seconds measured:
  $ node loadtest.js [concurrency [request per second [seconds measured]]] ...

## Concurrency

loadtest will create a simultaneous number of clients.

## Requests Per Second

Controls the number of requests per second for each client.

## Seconds Measured

How many seconds must be measured before showing the default latency.

License
-------

(The MIT License)
{'fraction_non_alphanumeric': 0.09145972138098123, 'fraction_numerical': 0.0, 'mean_word_length': 3.5509641873278235, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6022881', 'n_tokens_mistral': 445, 'n_tokens_neox': 430, 'n_words': 220}