PragmaticFlow / NBomber

Modern and flexible load testing framework for Pull and Push scenarios, designed to test any system regardless a protocol (HTTP/WebSockets/AMQP etc) or a semantic model (Pull/Push).
https://nbomber.com
Other
2.08k stars 129 forks source link

Implement Random.Zipf extension method #726

Closed AntyaDev closed 3 months ago

AntyaDev commented 3 months ago

Documentation link

The Zipf distribution is a mathematical concept that describes the frequency of items ranked from most common to least common in a dataset, like word frequencies in a book or city populations. Also, this distribution can be used to describe hot keys/items in database or popular tweets in Tweeter web service.

var stepIndex = context.Random.Zipf(n: 100, s: 1.0)