k6-docs icon indicating copy to clipboard operation
k6-docs copied to clipboard

Point out to users the result of `setup` is not meant to be a big data set

Open mstoykov opened this issue 2 months ago • 0 comments

setup marshals its result and then each VU gets an copy of it as a new javascript object. On big dataset this is a prbolem.

This also makes it so that if you return a SharedArray or an object with SharedArray it will be copied and that copy won't be memory effiecient

mstoykov avatar Sep 22 '25 11:09 mstoykov