Comments (12)
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.
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.
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.
Ta. V2.7.2.1 is the latest for M2.7 to check against.
from moodle-format_grid.
Odd: https://github.com/gjb2048/moodle-format_grid/blob/MOODLE_28/lib.php#L1291-L1295
from moodle-format_grid.
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.
So, any specific place you think it could be improved?
from moodle-format_grid.
course_section_cm seems to account for 23% of the load time according to blackfire so possibly that one.
from moodle-format_grid.
That's a core API method.
from moodle-format_grid.
Lets close this and
from moodle-format_grid.
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.
Ok.
from moodle-format_grid.
Related Issues (20)
- Flex containers' `justify-content` property options and keyboard shortcuts HOT 6
- "Hidden sections are shown as not available" doesn't seem to work. HOT 7
- Import a format_grid course into a format_topics course fails and produces "undefined method" error HOT 4
- Course sections outside the "Number of sections" setting are not able to use the "Hidden & Make Available" options. HOT 5
- Images and content are missing in the grid boxes when restoring a course HOT 1
- Grid Issue with Restoring Course When the Receiving Course Is Not Using the Grid Format HOT 2
- "Image information is empty" HOT 13
- Section summary does not display for the first section in the series of grids HOT 5
- Glossary entry window opens several times in Grid HOT 3
- Restrict access can cause no content in other sections to be shown. HOT 1
- Import quiz error + Number of topics reduced to 1 HOT 29
- Collapse all button non-responsive with course Edit Mode - WP 4.3.3 HOT 2
- Html entities in section titles are not being decoded
- Limit card max width so mobile view will always show at least 2 aside HOT 3
- Block area and Link HOT 4
- Remove the numsections/orphan sections option, and just rely on hidden sections HOT 1
- Support indentation HOT 3
- Incompatible with Moodle 4.4 Course Index HOT 4
- Unable to update defaultimageresizemethod setting
- Image information is empty on defaultimageresizemethod admin setting change HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from moodle-format_grid.