News for hackers. Stuff that matters.
Re:When setting an environment variable gives you a 40x speedup by arendtio on Saturday April 27, 2019 @04:43AM (#19764563)
Well, this looks rather strange. As expected, settings the variable causes large changes as it removes a lot of lstat calls and also removes the color codes from the writes. So there seems to be no obvious explanation, why it becomes slower when doing less...

  # du -sh logfile_nfs*
  1.7M    logfile_nfs
  668K    logfile_nfs_exported
However, the strace -c output looks kinda different:

Without modifying the variable: https://bin.disroot.org/?149fa91c08b27312#0w9O6BAWNEEC4SUXEb...

With setting the variable: https://bin.disroot.org/?149fa91c08b27312#0w9O6BAWNEEC4SUXEb...

Re:When setting an environment variable gives you a 40x speedup by mrb on Saturday April 27, 2019 @01:27PM (#19766591)
You pasted the same link for both cases. Can't tell what's going on.
Re:When setting an environment variable gives you a 40x speedup by arendtio on Saturday April 27, 2019 @03:39PM (#19767240)
Oh sorry, my fault. The second link should be

https://bin.disroot.org/?56f3dcb618240df0#x3StRGZZgSzM0UJ0BK...