Giter VIP home page Giter VIP logo

Comments (12)

gjb2048 avatar gjb2048 commented on July 30, 2024

Thanks for the info. The chart shows the 'print_r' function taking 26...%. That will only happen when debugging is turned on.

Sent from my iPod in deep space...

On 27 Apr 2015, at 13:31, danbuntu [email protected] wrote:

Hello

I've recently been playing with blackfire.io and noticed that on a moodel course that uses the grid format that black fire shows a significant part of the loading times is becuase of grid format. I wonder if this info was relevant and perhaps something that could be looked into.

Please see the attached image that a page load on one of my sample courses where the grid format takes 42% of the load time, in particular the make_block_icon_topics function


Reply to this email directly or view it on GitHub.

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

P.s Please could you provide the steps I need to take to replicate this, then I'll be able to verify that any changes I make actually improve things.

Sent from my iPod in deep space...

On 27 Apr 2015, at 13:31, danbuntu [email protected] wrote:

Hello

I've recently been playing with blackfire.io and noticed that on a moodel course that uses the grid format that black fire shows a significant part of the loading times is becuase of grid format. I wonder if this info was relevant and perhaps something that could be looked into.

Please see the attached image that a page load on one of my sample courses where the grid format takes 42% of the load time, in particular the make_block_icon_topics function


Reply to this email directly or view it on GitHub.

from moodle-format_grid.

danbuntu avatar danbuntu commented on July 30, 2024

I've just checked this on my live system as well and I get the same results.

Moodle debugging is turned off on this system and display_errors set to off in php.ini. I've also doubled checked debug isn't on in my config.php

My setup is:

ubuntu 14.04
moodle 2.7.5
grid format 2.7.2

into that I've installed blackfire as per the instructions as at blackfire.io

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

Ta. V2.7.2.1 is the latest for M2.7 to check against.

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

Odd: https://github.com/gjb2048/moodle-format_grid/blob/MOODLE_28/lib.php#L1291-L1295

from moodle-format_grid.

danbuntu avatar danbuntu commented on July 30, 2024

yes I noticed that.

I've just re-run the blackfire tests on my live system and I'm not getting the print_r section. I am still seeing a good part of the course load times coming from the grid format though.

I tried to screenshot it but it's a right spiders web :-)

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

So, any specific place you think it could be improved?

from moodle-format_grid.

danbuntu avatar danbuntu commented on July 30, 2024

course_section_cm seems to account for 23% of the load time according to blackfire so possibly that one.

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

That's a core API method.

from moodle-format_grid.

danbuntu avatar danbuntu commented on July 30, 2024

Lets close this and

from moodle-format_grid.

danbuntu avatar danbuntu commented on July 30, 2024

Lets close this then and i'll re-open if I come up with some thing more concrete at some point

from moodle-format_grid.

gjb2048 avatar gjb2048 commented on July 30, 2024

Ok.

from moodle-format_grid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.