Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
minimax
on Jan 2, 2014
|
parent
|
context
|
favorite
| on:
Memory cache optimizations
Yes you can use perf to profile on cache misses (perf record -e cache-misses).
mtanski
on Jan 3, 2014
[–]
Not only that but you can annotate the source and see which function and which instruction (C or asm) caused it. This way you know exactly which field is the one causing cache misses.
Dito for branch miss-prediction.
Consider applying for YC's Spring batch! Applications are open till Feb 11.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: