Excimer profiler
插件管理工具稳定版

Excimer profiler

tool_excimerCatalyst IT

  • Moodle 1.9–5.1
  • 更新 2026-11-06

This is a Moodle admin plugin that provides developers with insights into not
only what pages in your site are slow, but why. It uses the the Excimer sampling
php profiler to so.
What is this plugin?
This is a Moodle admin plugin that provides developers with insights into not only what pages in your site are slow, but why. It uses the the Excimer sampling php profiler to so.
It is complementary to the profiler in core which uses Tideways. The key downside to Tideway is that it has a substantial performance hit and can’t be used in production to capture everything and only later decide what to keep or analyse.
Looking at your web server logs tells you what is slow but not why. Using Tideways is a critical tool if you can reproduce an issue, but cannot be used to say why something was slow retrospecively last Friday out of hours and you only found out a few days later.
What this plugin is not
This plugin does not aim to replace the core Tideways based profiler, they are complimentary.
Because Tideways instruments every single call, it can be used for a variety of things that Excimer cannot, such as determining in production if a particular code path was executed or not.
This plugin does also not aim to be a full Application performance management (APM) solution such as New Relic. But if you don’t have or cannot afford an APM this plugin should be another great tool to have in your tool box.
Design principles
1) Do no harm
This plugin is designed to be running constantly in production profiling everything and only storing things which are of interest in various ways. So it is critical that this plugin has an extremely low foot print, in all dimensions: CPU, memory, and with IO to the DB, file system and even caches. In the vast majority of requests when things are running smoothly it will discard the profile and it’s overall impact should be close to zero. Even when it is storing and processing profiles, keep the impact as low as possible and defer things until needed if possible or worse case to a cron task.
An extension of this is ‘don’t escalate’, meaning if something fundamentally goes wrong at a low level inf level, then avoid making things worse.
2) Don’t make me think
Rather that a low level tool which you have to drive, the intent of this plugin is to give clear actionable suggestions about specific changes to code to improve it. There may be many potential reasons why a particular request is ‘interesting’ in some way.
This plugin aims to detect a range of opportunities to improve performance such as:
when a session lock is held too long without session changes
when a session may be a readonly candidate

返回插件目录