News for hackers. Stuff that matters.
Re:Ask HN: What were the things you did that made the bigges... by bertr4nd on Saturday February 01, 2020 @02:51PM (#22212791)
We wrote this paper about it for CGO: https://research.fb.com/publications/optimizing-function-pla....

But the paper actually describes a significantly more sophisticated heuristic. My initial implementation simply used the number of perf samples divided by the size of the function, which helps make sure you’re getting the most out of your I-TLB. It worked shockingly well for its simplicity.

There are no comments on this comment yet.