<commit_before># Framework of performance testing 

This is a framework for common performance testing evolving from my another project `grpcperf`

## Quick Start
If you can not wait to run `fperf` to see how it works, you can follow the [quickstart](docs/quickstart.md)
 here.

## Run benchmark
### Options
* **-async=false: send and recv in seperate goroutines**  
Only used in stream mode. Use two groutine per stream, one for sending and another for recving.
defualt is false.

* **-burst=0: burst a number of request, use with**

* **-async=true**  
Used with -async option. use birst to limit the counts of request the sending goroutine issued.<commit_msg>Add introduction of -N option<commit_after># Framework of performance testing 

This is a framework for common performance testing evolving from my another project `grpcperf`

## Quick Start
If you can not wait to run `fperf` to see how it works, you can follow the [quickstart](docs/quickstart.md)
 here.

## Run benchmark
### Options
* **-N : number of the requests issued per goroutine**
* **-async=false: send and recv in seperate goroutines**  
Only used in stream mode. Use two groutine per stream, one for sending and another for recving.
defualt is false.

* **-burst=0: burst a number of request, use with**

* **-async=true**  
Used with -async option. use birst to limit the counts of request the sending goroutine issued.
{'fraction_non_alphanumeric': 0.08315412186379928, 'fraction_numerical': 0.0014336917562724014, 'mean_word_length': 4.307984790874524, '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': '6042196', 'n_tokens_mistral': 399, 'n_tokens_neox': 388, 'n_words': 201}