From 86d8ec29694f25420b0b7860b6491c8bf0720263 Mon Sep 17 00:00:00 2001 From: oleiade Date: Tue, 21 Nov 2023 12:13:13 +0100 Subject: [PATCH] Apply suggestions from code review --- docs/sources/next/javascript-api/k6-experimental/fs/_index.md | 2 +- docs/sources/next/javascript-api/k6-experimental/fs/open.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/sources/next/javascript-api/k6-experimental/fs/_index.md b/docs/sources/next/javascript-api/k6-experimental/fs/_index.md index c8ecf3916a..d7cc668d31 100644 --- a/docs/sources/next/javascript-api/k6-experimental/fs/_index.md +++ b/docs/sources/next/javascript-api/k6-experimental/fs/_index.md @@ -12,7 +12,7 @@ The k6 filesystem experimental module provides a memory-efficient way to handle ### Memory efficiency -One of the key advantages of the filesystem module is its memory efficiency. Unlike the traditional [open]() function, which loads a file multiple times into memory, the filesystem module reduces memory usage by loading the file as little possible, and sharing the same memory space between all VUs. This approach signally reduces the memory footprint of your test script, and lets you load and process large files without running out of memory. +One of the key advantages of the filesystem module is its memory efficiency. Unlike the traditional [open](https://grafana.com/docs/k6/latest/javascript-api/init-context/open/) function, which loads a file multiple times into memory, the filesystem module reduces memory usage by loading the file as little possible, and sharing the same memory space between all VUs. This approach signally reduces the memory footprint of your test script, and lets you load and process large files without running out of memory. ### Notes on usage diff --git a/docs/sources/next/javascript-api/k6-experimental/fs/open.md b/docs/sources/next/javascript-api/k6-experimental/fs/open.md index adea25c41d..03b0bebb35 100644 --- a/docs/sources/next/javascript-api/k6-experimental/fs/open.md +++ b/docs/sources/next/javascript-api/k6-experimental/fs/open.md @@ -6,7 +6,7 @@ weight: 20 # open -The `open` function opens a file and returns a promise that resolves to a [File](https://grafana.com/docs/k6//javascript-api/k6-experimental/fs/file) instance. This function loads the file into shared memory space accessible by all Virtual Users (VUs). This approach significantly ~reduces the memory footprint~, enabling the handling of large files without overwhelming memory resources. +The `open` function opens a file and returns a promise that resolves to a [File](https://grafana.com/docs/k6//javascript-api/k6-experimental/fs/file) instance. Unlike the traditional [open](https://grafana.com/docs/k6/latest/javascript-api/init-context/open/) function, which loads a file multiple times into memory, the filesystem module reduces memory usage by loading the file as little possible, and sharing the same memory space between all VUs. This approach signally reduces the memory footprint of your test script, and lets you load and process large files without running out of memory. ### Asynchronous Nature