context: uutils/coreutils#11597
uutils/coreutils uses
https://github.com/uutils/coreutils/blob/0366d3c657ef02ff7c82dcd25926e0485db38ed2/src/uucore/src/lib/features/pipes.rs#L24-L31 to generate 1 MiB pipe used only from the process. However, CodSpeed does not count it as RAM usage since pipe is allocated by Linux kernel itself (not malloc).
I want to count them as RAM usage.
I know it is very rare usecase. But I think something like codspeed_ram_usage!(1024 * 1024); is more generic.
context: uutils/coreutils#11597
uutils/coreutils uses
https://github.com/uutils/coreutils/blob/0366d3c657ef02ff7c82dcd25926e0485db38ed2/src/uucore/src/lib/features/pipes.rs#L24-L31 to generate 1 MiB pipe used only from the process. However, CodSpeed does not count it as RAM usage since pipe is allocated by Linux kernel itself (not malloc).
I want to count them as RAM usage.
I know it is very rare usecase. But I think something like
codspeed_ram_usage!(1024 * 1024);is more generic.