Manual:Profiling table/fr

The profiling table is used to store -related data. This table doesn't exist unless created, e.g. by setting  in your StartProfiler.php and running.

pf_count
Compteur d'événements (un entier).

pf_time
Temps total (millisecondes).

pf_memory
Somme de mémoire (kb).

pf_name
Nom de méthode (par exemple Title::getNamespace).

pf_server
Hôte (par exemple lucy-HP-Compaq-Elite-8300-SF).

Résumé du schéma
DESCRIBE profiling; +---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type         | Null | Key | Default | Extra |
 * pf_count | int(11)      | NO   |     | 0       |       |
 * pf_time  | float        | NO   |     | 0       |       |
 * pf_memory | float       | NO   |     | 0       |       |
 * pf_name  | varchar(255) | NO   | PRI |         |       |
 * pf_server | varchar(30) | NO   | PRI |         |       |

DESCRIBE profiling; +---+--+--+-+-+---+ +---+--+--+-+-+---+ +---+--+--+-+-+---+
 * Field    | Type         | Null | Key | Default | Extra |
 * pf_count | int(11)      | NO   |     | 0       |       |
 * pf_time  | float        | NO   |     | 0       |       |
 * pf_name  | varchar(255) | NO   | PRI |         |       |
 * pf_server | varchar(30) | NO   | PRI |         |       |

DESCRIBE profiling; +--+--+--+-+-+---+ +--+--+--+-+-+---+ +--+--+--+-+-+---+
 * Field   | Type         | Null | Key | Default | Extra |
 * pf_count | int(11)     | NO   |     | 0       |       |
 * pf_time | float        | NO   |     | 0       |       |
 * pf_name | varchar(255) | NO   | PRI |         |       |

Liens externes

 * https://phabricator.wikimedia.org/source/mediawiki/browse/master/maintenance/archives/patch-profiling.sql