Description of the need
The function menu_navigation_links_rebuild() uses a large number of database queries when rebuilding the system menu links that are created based on hook_menu. This process uses nearly 300 database queries without any contributed modules, and gets more expensive the more modules you have.
Proposed solution
These queries can be statically cached during the process and then all written back to the database at the end. Based on my initial testing, this reduces test execution time by 10-15%
Additional information
I had to modify one test that deletes menu items without using menu_link_delete to simulate a database crash. The behavior in this case is changed because the links are stored using a static cache.
PR: https://github.com/backdrop/backdrop/pull/3659
Advocate: @hosef
Recent comments
I'm not sure I'm getting it. It is working as intended now. Let me post you some images. Thanks!
have a view show contents in table and leaflet format simultaneously.
https://github.com/backdrop/backdrop-issues/issues/7018 Feel free to edit as you see fit. KR Mike
MySQL Database 4-byte UTF-8 support
Thanks. Would you please file an issue at https://github.com/backdrop/backdrop-issues/issues? The idea there is to say that a site that uses a DB prefix defined in the simplified database...
MySQL Database 4-byte UTF-8 support