Date: Thu, 26 Mar 2020 23:22:57 +0000 From: Andrew Doran <a...@netbsd.org> Message-ID: <20200326232257.gf27...@homeworld.netbsd.org>
| > Modern CPUs like Ryzen Threadripper 3990X can execute that extra amount | > of instructions (around 600) in a single clock cycle. | | NetBSD-current would probably take longer to build on that AMD chip, than | Research Unix took to build on a PDP-11/70 in the late 1970s. It still | counts. Not only tat, but Kamil's measurements only count the kernel cost, not the cost for the shell adding the var to the env on every exec, or the additional cost on env var lookups of having to scan one extra var that isn't the one being sought (50% of the time on average - the other lookups find the var before the extra one) - and of course, all the lookups for vars like LD_LIBRARY_PATH that have to scan everything, as those are almost never present. But discussion isn't worth the time it is taking. kre