|Issue tags:||Quick fix|
While profiling D7, I noticed that _menu_check_access() is called many many times with paths that have no relevance to the current page. This function is in the top 5 time sucks right now.
To reproduce the problem:
- Ideally, start with clean HEAD install
- Create a standard user and login as that user
- Add this line to top of _menu_check_access():
print ($item['href']) . "\n";
- View homepage and note all the strange paths that get checked like taxonomy/autocomplete and user field/js_add_more system/ahah