Profiling/Performance Testing a Plugin/Activity

Profiling/Performance Testing a Plugin/Activity

Muhammad Sameer Hussaindən -
Number of replies: 2

I want to test and improve the performance of SCORM modules, is there any plugin or route to test the performance?

Orta qiymət: -
In reply to Muhammad Sameer Hussain

Re: Profiling/Performance Testing a Plugin/Activity

Mark Johnsondən -
Core developers istifadəçinin şəkili Particularly helpful Moodlers istifadəçinin şəkili Peer reviewers istifadəçinin şəkili Plugin developers istifadəçinin şəkili

Moodle has built-in support for profiling with XHProf. You'll need to set up the required PHP extension and visualisation tool: https://docs.moodle.org/dev/Setting_up_xhprof_on_Moodle

However, this may not be the best tool for assessing performance of a SCORM module, it depends what is in the package, and exactly what you want to test for. Consider what you are trying to assess and optimise. You can perform load testing with JMeter, then monitor page load times and resource usage during the test.

In reply to Muhammad Sameer Hussain

Re: Profiling/Performance Testing a Plugin/Activity

Michael Hughesdən -
Core developers istifadəçinin şəkili Particularly helpful Moodlers istifadəçinin şəkili Plugin developers istifadəçinin şəkili
We've just started looking at using Blackfire.io for this (on the back of a comment made by Nadav Kavalerchik in the Moodle Dev chat).

This *seems* like it would work for profiling even against a "live" service.