<commit_before># perf-analysis-nodejs-cluster
To analyze the performance differences on using a clustered approach in node js


# How to use?

## Pre-requisites:

- siege (a perf tool)


## Executions:

### Environment settings:
![alt text](  "Env settings")

### Phase 1:
- node perf-without-cluster-no-computations.js
- siege  -t20s http://localhost:3000<commit_msg>Updating env details in helper file<commit_after># perf-analysis-nodejs-cluster
To analyze the performance differences on using a clustered approach in node js


# How to use?

## Pre-requisites:

- siege (a perf tool)


## Executions:

### Environment settings:
![alt text](https://github.com/RamuRChenchaiah/perf-analysis-nodejs-cluster/blob/master/Environment%20setting.PNG  "Env settings")

### Phase 1:
- node perf-without-cluster-no-computations.js
- siege  -t20s http://localhost:3000
{'fraction_non_alphanumeric': 0.12339930151338765, 'fraction_numerical': 0.018626309662398137, 'mean_word_length': 4.512820512820513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, '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': '6551672', 'n_tokens_mistral': 288, 'n_tokens_neox': 261, 'n_words': 78}