Re:The logging framework isn't a bottleneck, and other lies ...
by steerablesafe on Thursday May 14, 2020 @06:07AM
(#23177637)
If memory layout changes due to environment variables significantly changes performance characteristics then it looks like an opportunity to optimize this aspect of loading a binary. I assume cache alignment is in play here.
[ Parent
| on HN ]
Re:The logging framework isn't a bottleneck, and other lies ...
by fetbaffe on Thursday May 14, 2020 @07:54AM
(#23178384)
Good video on the topic
Re:The logging framework isn't a bottleneck, and other lies ...
by steerablesafe on Thursday May 14, 2020 @10:19AM
(#23179831)
Thank you, this is a fantastic talk.
It's great that they can average out the random effect of layout, but what I meant by optimization opportunity is to deliberately aim for the "good" memory layouts. Something like fixing the alignment of the stack on program entry point or marking specific functions as "stack aligned".