moodlehq / moodle-performance-comparison

Set of shell scripts to run Moodle performance tests using different hardware and configurations and compare results.
GNU General Public License v2.0
76 stars 40 forks source link

Better matcher for memory used scrapping. #72

Closed stronk7 closed 3 years ago

stronk7 commented 3 years ago

Recently (MDL-72643) a change to display_size() was done and now there is some non-breaking space between the memory number and the units.

That had caused the performance footer parser to stop working and memory use was not being reported any more.

With this change, both the old and the new formats are supported by simply ignoring anything between the digit and the "MB".

Already tested on performance servers, memory reports are back.

vmdef commented 3 years ago

Merged. Thanks @stronk7!