Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Wondering why your views run so slow? Why after switching to InnoDB, MySQL isn't running any better? This module has the answers!
Indexes
It will show what CCK columns get used in a view filter or relationship and give you the option to add an index on it so the views query will run faster. Also can add indexes to core modules that could use one.
Engine
Ability to convert your database from MyISAM to InnoDB in order to eliminate table locks on data writes.
Collation
Are half your tables latin1_swedish_ci and the other half utf8_general_ci? Use this to change them all to utf8_general_ci.
MySQL Tuner
Have you never edited your my.conf file? This will give you hints at what values to tweak in order to get MySQL running better. Special thanks to MySQL Tuner, since this part of the module is a port of that project.
Future Plans:
Figure out which experimental indexes are good & which ones are bad
XHProf is a hierarchical profiler for PHP. It reports function-level call counts and inclusive and exclusive metrics such as wall (elapsed) time, CPU time and memory usage. A function's profile can be broken down by callers or callees. The raw data collection component is implemented in C as a PHP Zend extension called xhprof. XHProf has a simple HTML based user interface (written in PHP). The browser based UI for viewing profiler results makes it easy to view results or to share results with peers. A callgraph image view is also supported.
It also provides a native Drupal UI (as opposed to facebook's original php front end) to view the profiling data. Having this in Drupal provides several advantages:
This module is designed to help manage large multisite installations by allowing a master installation to run multiple slave crons when the master runs cron.
This module provides a really fast, secure and stable, lightweight CLI Daemon. This daemon exposes a simple hook in order for module to run actions using it.
Features
Clean usage of pcntl_* extension, with SIG handling.
Lightweight, it does bootstrap a Drupal in child processes in order to let modules benefits from hook_init(), hook_exit(), and a clean environment.
Is able to run job_queue jobs, and Drupal cron if no other module has been run.
This module automatically runs CSSTidy using the highest compression template when CSS optimization is enabled in the Performance settings. It can also be configured to make the stylesheet readable using minimal linebreaks while still significantly compressing it. The default Drupal optimization removes whitespace around separators and comments that are not CSS hacks. This leaves much to be desired, especially considering it doesn't effectively remove all unnecessary whitespace is some instances. CSSTidy improves upon this by optimizing the stylesheet in the following ways:
Colors like black or rgb(0,0,0) are converted short-hand hex-codes like #000 when possible. Some hex-codes are replaced by their color names if they are shorter (#f00 becomes red)
a{property:x;property:y;} becomes a{property:y;} (all duplicate properties are merged)