Since a lot of plugins have been bundled with core, we’ve been seeing some performance impact.
When investigating, it turned out that some plugins are still injecting certain queries, even when disabled.
An example is the topic voting plugin.
The topic filter and the search filter and search order are always injected and active.
The code should be fenced with SiteSetting.topic_voting_enabled
. Or maybe calls like register_search_advanced_filter
should behave more like add_to_serializer
and check if the plugin is enabled.