Title: MITS Profiler
Author: wpaluchmits
Published: <strong>11 ມິຖຸນາ 2026</strong>
Last modified: 16 ມິຖຸນາ 2026

---

ຄົ້ນຫາປລັກອິນ

![](https://ps.w.org/mits-profiler/assets/icon.svg?rev=3569845)

# MITS Profiler

 ໂດຍ [wpaluchmits](https://profiles.wordpress.org/wpaluchmits/)

[ດາວໂຫຼດ](https://downloads.wordpress.org/plugin/mits-profiler.1.3.0.zip)

 * [ລາຍລອຽດ](https://lo.wordpress.org/plugins/mits-profiler/#description)
 * [ການຣີວິວ](https://lo.wordpress.org/plugins/mits-profiler/#reviews)
 *  [ການຕິດຕັ້ງ](https://lo.wordpress.org/plugins/mits-profiler/#installation)
 * [ການພັດທະນາ](https://lo.wordpress.org/plugins/mits-profiler/#developers)

 [ການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/mits-profiler/)

## ຄຳອະທິບາຍ

MITS Profiler is a tool by [MITS](https://mits.pl) — a WordPress and WooCommerce
agency based in Poland. It adds a diagnostic bar to any page by appending `?mits_prof
=1` to the URL. It captures timing data from the moment PHP starts and presents 
it in a dark-themed panel at the bottom of the page — visible only to logged-in 
administrators.

**Tabs included:**

 * **Timeline** — absolute and relative timing between WordPress lifecycle hooks(
   plugins_loaded  init  wp_head  wp_footer)
 * **Hooks** — top 50 slowest action/filter hooks with total time and call count
 * **Options** — most-queried WordPress options + full autoload audit with sizes
 * **Plugins** — loaded PHP file sizes per plugin (proxy for load time)
 * **Assets** — all enqueued scripts and styles, external ones highlighted
 * **HTTP** — outgoing wp_remote_* requests with response time and status
 * **SQL** — all database queries with slow-query highlighting (requires SAVEQUERIES)
 * **PHP** — PHP version, OPcache status and hit rate, memory and execution limits

**Key features:**

 * Zero HTTP loopback — works behind Cloudflare, reverse proxies and strict firewall
   rules
 * No external dependencies or requests
 * Admin-only: the panel and all data are never shown to guests
 * Export to JSON or CSV for offline analysis
 * Works on front-end pages, WooCommerce pages, and WP Admin

**SQL query logging** requires adding the following to `wp-config.php`:

    ```
    define('SAVEQUERIES', true);
    ```

## ພາບໜ້າຈໍ

[⌊Plugin header — admin panel overview with site stats and quick-start launcher.⌉⌊
Plugin header — admin panel overview with site stats and quick-start launcher.⌉[

Plugin header — admin panel overview with site stats and quick-start launcher.

[⌊Admin panel — page count, OPcache hit rate and SAVEQUERIES status.⌉⌊Admin panel—
page count, OPcache hit rate and SAVEQUERIES status.⌉[

Admin panel — page count, OPcache hit rate and SAVEQUERIES status.

[⌊Profiler bar — Timeline tab showing hook timing from profiler_init to render.⌉⌊
Profiler bar — Timeline tab showing hook timing from profiler_init to render.⌉[

Profiler bar — Timeline tab showing hook timing from profiler_init to render.

## ການຕິດຕັ້ງ

 1. Upload the `mits-profiler` folder to `/wp-content/plugins/`
 2. Activate the plugin in **Plugins  Installed Plugins**
 3. Go to **MITS Profiler** in the admin menu to open the control panel
 4. Click **Profiluj w nowej karcie** or manually append `?mits_prof=1` to any URL

## ຄຳຖາມທີ່ພົບເລື້ອຍ

### Does this plugin slow down my site for visitors?

No. The profiler only activates when `?mits_prof=1` is present in the URL, and even
then it only renders its output for logged-in administrators. Regular visitors are
completely unaffected.

### Does it work behind Cloudflare?

Yes. Unlike profilers that rely on HTTP loopback requests (which Cloudflare blocks),
MITS Profiler measures time inline within the same PHP process — no outgoing requests
needed.

### How do I see database queries?

Add `define('SAVEQUERIES', true);` to your `wp-config.php` before the line `/* That's
all, stop editing! */`. Remember to remove it when done, as it adds overhead on 
every page load.

### The panel does not appear

Make sure you are logged in as an administrator and that the URL contains `?mits_prof
=1` (or `&mits_prof=1` if the URL already has a query string).

## ການຣີວິວ

ບໍ່ມີການຣີວິວສຳລັບປລັກອິນນີ້.

## ຜູ້ຮ່ວມພັດທະນາ ແລະ ຜູ້ພັດທະນາ

“MITS Profiler” ແມ່ນຊອຟແວໂອເພັນຊອດ (Open Source). ບຸກຄົນຕໍ່ໄປນີ້ໄດ້ມີສ່ວນຮ່ວມໃນການ
ພັດທະນາປລັກອິນນີ້.

ຜູ້ຮ່ວມພັດທະນາ

 *   [ wpaluchmits ](https://profiles.wordpress.org/wpaluchmits/)

[ແປ “MITS Profiler” ເປັນພາສາຂອງເຈົ້າ.](https://translate.wordpress.org/projects/wp-plugins/mits-profiler)

### ສົນໃຈຮ່ວມພັດທະນາບໍ່?

[ເບິ່ງລະຫັດ](https://plugins.trac.wordpress.org/browser/mits-profiler/), ກວດເບິ່ງ
[ຄັງເກັບ SVN](https://plugins.svn.wordpress.org/mits-profiler/), ຫຼື ຕິດຕາມ [ບັນທຶກການພັດທະນາ](https://plugins.trac.wordpress.org/log/mits-profiler/)
ຜ່ານ [RSS](https://plugins.trac.wordpress.org/log/mits-profiler/?limit=100&mode=stop_on_copy&format=rss).

## ບັນທຶກການປ່ຽນແປງ

#### 1.3.0

 * All CSS/JS now enqueued via wp_add_inline_style() and wp_add_inline_script() —
   no direct / output
 * Admin page assets enqueued through admin_enqueue_scripts hook
 * Static profiler bar functions extracted from render() to a registered script 
   handle
 * Added wpaluchmits to Contributors
 * All echoed variables escaped or cast to int/float; $row() closure wraps every
   cell in wp_kses()

#### 1.2.0

 * Added full MITS wordmark logo in admin panel header
 * Admin notices from other plugins are now hidden on the profiler page
 * Fixed $_SERVER sanitization (wp_unslash + sanitize_text_field)
 * Added phpcs:ignore annotations for intentional direct DB queries

#### 1.1.0

 * Added SQL tab with slow-query highlighting (requires SAVEQUERIES)
 * Added PHP environment tab with OPcache stats
 * Added JSON and CSV export buttons
 * Added HTTP outgoing request tracking via wp_remote_*

#### 1.0.0

 * Initial release: Timeline, Hooks, Options, Plugins, Assets tabs

## ຂໍ້ມູນກຳກັບ (Meta)

 *  ເວີຊັນ **1.3.0**
 *  ອັບເດດຫຼ້າສຸດເມື່ອ **1 ອາທິດ ທີ່ຜ່ານມາ** ທີ່ຜ່ານມາ
 *  ການຕິດຕັ້ງທີ່ໃຊ້ງານຢູ່ **ໜ້ອຍກວ່າ 10**
 *  ເວີຊັນ WordPress ** 6.0 ຫຼື ສູງກວ່າ **
 *  ທົດສອບເຖິງເວີຊັນ **7.0**
 *  ເວີຊັນ PHP ** 8.0 ຫຼື ສູງກວ່າ **
 *  ພາສາ
 * [English (US)](https://wordpress.org/plugins/mits-profiler/)
 * ແທັກ
 * [database](https://lo.wordpress.org/plugins/tags/database/)[debug](https://lo.wordpress.org/plugins/tags/debug/)
   [hooks](https://lo.wordpress.org/plugins/tags/hooks/)[performance](https://lo.wordpress.org/plugins/tags/performance/)
   [profiler](https://lo.wordpress.org/plugins/tags/profiler/)
 *  [ມຸມມອງຂັ້ນສູງ](https://lo.wordpress.org/plugins/mits-profiler/advanced/)

## ການໃຫ້ຄະແນນ

ຍັງບໍ່ມີການສົ່ງຄຳວິຈານເທື່ອ.

[Your review](https://wordpress.org/support/plugin/mits-profiler/reviews/#new-post)

[ເບິ່ງ ຄຳຄິດເຫັນ ທັງໝົດ](https://wordpress.org/support/plugin/mits-profiler/reviews/)

## ຜູ້ຮ່ວມພັດທະນາ

 *   [ wpaluchmits ](https://profiles.wordpress.org/wpaluchmits/)

## ການຊ່ວຍເຫຼືອ

ມີຄຳຖາມ ຫຼື ຕ້ອງການຄວາມຊ່ວຍເຫຼືອບໍ່?

 [ເບິ່ງຟໍຣັມການຊ່ວຍເຫຼືອ](https://wordpress.org/support/plugin/mits-profiler/)