Revisit faker.js example in the docs to generate realistic data #957
Labels
Area: OSS Content
Improvements or additions to community/oss documentation
examples
Issues about a missing example
Based on https://community.k6.io/t/a-newer-version-of-faker/5516/3, I would suggest we consider if the example we have in https://k6.io/docs/examples/, which points to https://github.com/grafana/k6-example-data-generation, is currently the best. Alternatives:
Document a simple example like the one below. This has at least a couple of caveats (high memory usage, and the need to fix JavaScript spread operator throws error with params object k6#824 (comment) to support the newer version of faker - the old one is no longer maintained)
Implement Faker with SharedArray to use less memory jslib.k6.io#84, an alternative using SharedArray.
Point to use the extension https://github.com/szkiba/xk6-faker?
Other alternatives?
The text was updated successfully, but these errors were encountered: