On 26.03.2020 16:02, Robert Elz wrote:
> EVery extra env var has a cost in every exec of absolutely everything.

As this is true.. but as I have benchmarked it.

For true(1) on amd64, we execute 0.05% more instructions for extra
TMPDIR environment variable.

$ ./singlestepper true
Total count: 1286742
$ TMPDIR=/tmp ./singlestepper true
Total count: 1287399

That is negligible cost of getting TMPDIR propagated to most programs.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to