Performance perspectives - a little script

Re: Performance perspectives - a little script

by Najeeb Haider Zaidi -
Number of replies: 0

Speed test

In one second you can do...

  • 3619000 function calls
  • 69700 16KB files read from disk (cache)
  • 15100 regular expression replaces over 1KB of text
  • 3600 16KB files written to disk (cache)
  • 2810 get_record calls on the course table
  • 730 insert_record calls on the course table
  • 800 update_record calls on the course table
  • 0.39 seconds to delete 730 entries

Script took 14.34 seconds to execute.


How do you rate this result for 300 concurrent users attempting the same text quiz (no images). If someone can kindly explain me how to convert these results into real activities and concurrent users, it will be a great help.
Further information that might be helpful;
Moodle Version 2.9