• Feedback
  • Performance improvement since MoodleBox 2.3.0

Nicolas I ran the Moodle Benchmark on a Pi 3B:
Raspberry Pi model Raspberry Pi 3B
Raspbian version Raspbian GNU/Linux 10 (buster)
Kernel version Linux 4.19.57-v7+ armv7l
MoodleBox version 3.0.0 (2019-07-13)
MoodleBox plugin version 2.2.0 (2019071000)

Which gave me a score of 156 points!
1 Moodle loading time 0.017 0.5 0.8
2 Processor processing speed 0.758 0.5 0.8
3 Reading file performance 0.054 0.5 0.8
4 Writing file performance 0.138 1 1.25
5 Reading course performance 0.116 0.75 1
6 Writing course performance 0.130 1 1.25
7 Database performance (#1) 0.019 0.5 0.7
8 Database performance (#2) 0.043 0.3 0.5
9 Login time performance for the guest account 0.116 0.3 0.8
10 Login time performance for a fake user account 0.160 0.3 0.8
Total time 1.551 s
Score 156 points

My question is, how to explain the improvement from 355 points with MoodleBox 2.3.0 ?

Also noticed that the text in the Benchmark output has changed. But they are the same calculations, I hope.

A lot of things has changed since version 2.3.0. Essentially, these improvements have made performance better:

  • Moodle was updated from version 3.4.x to Moodle 3.7.x
  • PHP was updated from PHP7.0 to PHP 7.3
  • Debian was updated from Stretch to Buster

The PHP upgrade to 7.3 is known to have a big effect. Buster and Moodle updates helps somewhat in this too.