############################################### # Configure with your own values. # # Remember to run ./before_run_setup.sh after changing # any of those values as everything would change and # previous runs would neither be valid. ############################################### ## Site info ################################################# # All Moodle db types supported, but only 'pgsql' and 'mysqli' auto backup/restore, manual backup/restore required for other drivers, more info in before_run_setup.sh and after_run_setup.sh. dbtype="pgsql" dbhost="localhost" dbname="moodleperformancecomparison" # The user should have permissions to create and drop databases. dbuser="postgres" dbpass="postgres" dbprefix="mdl_" # As explained in README.md these tools are intended to be used in internal networks. wwwroot="http://localhost:8080/moodle-performance-comparison/moodle" dataroot="/Users/dcai/moodles/www/moodle-performance-comparison/moodledata" toolgeneratorpassword="moodlerules" ## Repository and test branches information ################## # The moodle repository where the base branch is located. repository="https://github.com/dcai/moodle.git" # The base where both before and after branches will be updated. # This is necessary in case there are changes in # the generators codebase between before and after, we would not # be able to compare results as the test plan generator or the # generated data would change, so this setting will always be # pointing to a minor or major release hash. # # You don't need to change this value # This is Moodle 3.10 (Build: 20201109) - 2020110900.00 basecommit="ec58cefefb2722f61f77c9a2b6a12d40a8c078a0" # This is Moodle 3.9 (Build: 20200615) - 2020061500.00 #basecommit="500c131eb49771e36f68d151dfa37fef5a9bc2df" # This is Moodle 3.8 (Build: 20191118) - 2019111800.00 #basecommit="f968cd44e8ee5d54b1bc56823040ff770dbf18af" # This is Moodle 3.7 (Build: 20190520) - 2019052000.00 #basecommit="89457b26d192c06325bb6782b85d1025dafbefe9" # This is Moodle 3.6 (Build: 20181203) - 2018120300.00 #basecommit="cb628a9a08933c2a9f1eae2f3be70ea5d343b419" # This is Moodle 3.5 (Build: 20180517) - 2018051700.00 #basecommit="46574904afd39578fa4146bf1fc5c401ac680aa6" # This is Moodle 3.4 (Build: 20171113) - 2017111300.00 #basecommit="665c3ac59c35b7387a4fc70b8ac6600ce9ffeb87" # This is Moodle 3.3 (Build: 20170515) - 2017051500.00 #basecommit="b87a580aa3eb23d5f05d7f619fc40a89e0f86fe5" # This is Moodle 3.2 (Build: 20161205) - 2016120500.00 #basecommit="b182239f21c38ea57cddb41b0c03ef3eb02709f8" # This is Moodle 3.1 (Build: 20160523) - 2016052300.00 # basecommit="268abfacc54c4cbf9722c1502569b311c7caefff" # This is Moodle 3.0 (Build: 20150511) - 2015051100.00 #basecommit="6114fab93b414fcfa107d5a8fa2b35bc99d3464e" # This is Moodle 2.9 (Build: 20150511) - 2015051100.00 #basecommit="cbd90c01c120a199ca53b5965785c55f88834cdc" # This is Moodle 2.8 (Build: 20141110) - 2014111000.00 # basecommit="21db825b19e84bb24c0661b551a5069970e143c4" # Older bases in the branch will be listed here: # The original branch. # Usually one of Moodle's weekly released branches. You can also use a git hash here. beforebranchrepository="https://github.com/dcai/moodle.git" beforebranch="0a986fd" # The branch to compare against. # Usually your development branch or the same $beforebranch value if # you are comparing different settings configurations. You can also use a git hash here. afterbranchrepository="https://github.com/dcai/moodle.git" # afterbranch="MDL-71235-master" afterbranch="36bc7b0" ## Others #################################################### # The database and dataroot backups will be stored here. # Note that this can grow a lot depending on the test sizes you use. backupsdir="/Users/dcai/moodles/www/moodle-performance-comparison/temp" # Services names to restart before each run. # Note that this will only work in a limited set of systems as it uses system calls like "service $servicename restart" # You will need to restart the involved services manually. # # Default value set in defaults.properties # #servicesarray=( apache2 mysql postgresql ) # Path or alias of the browser you want to open the results with. # This setting is only useful when running compare.sh script. # # Default value set in defaults.properties # #browser="firefox" # Allows you to overwrite the default commands. # Useful if you have multiple instances, if your # commands are not in $PATH... # # Default values set in defaults.properties # #phpcmd='php' #mysqlcmd='mysql' #pgsqlcmd='psql' #mysqldumpcmd='mysqldump' #pgsqldumpcmd='pg_dump' #gitcmd='git' #curlcmd='curl' # Allows you to change the size used by compare.sh # Note that using a XS size may lead to unstable results # as there is moodle code that only runs only certain # timing conditions; this is balanced leading to stable # results using a S size or higher. #defaultcomparesize=S