moodle28 load of many not relevant information

Re: moodle28 load of many not relevant information

Davo Smith -
Number of replies: 1
Pikitia o Core developers Pikitia o Particularly helpful Moodlers Pikitia o Peer reviewers Pikitia o Plugin developers

Have you run some profiling on this code to determine that it is the cause of the slow page load? ( https://docs.moodle.org/dev/Setting_up_xhprof_on_Moodle
http://tjhunt.blogspot.co.uk/2013/05/performance-testing-moodle.html )

If you have and this is the main bottleneck, then I am surprised, as most of those calls are fairly lightweight (get_fast_modinfo should come straight from the cache in 99% of situations, get_module_types_names is a single DB query, the first time it is called on a page; all the rest of the calls to the modinfo object are working with data already in memory).


Ngā whakawākanga toharite: -
In reply to Davo Smith

תשובה ל: Re: moodle28 load of many not relevant information

Raphael Goldman -

Thanks a lot!

I am using xhprof

Can you please give some points that may impact on the loading time of the main course page.

I have thought about those points:

  • Numbers of activity in course
  • number of blocks in the course
  • Using of pictures and video in main page.
  • number of users in course?
Ngā whakawākanga toharite: -