Eileen has submitted this change and it was merged. Change subject: Add rudimentary performance timing drush command ......................................................................
Add rudimentary performance timing drush command This is primarily for the purposes of comparing the time it takes us to write transactions to CiviCRM. The function uses wmf processing, but bypasses the contribution_tracking for simplicity. The real focus is whether CiviCRM processing speed changes for the sorts of functions we do This uses the data from https://git.wikimedia.org/blob/wikimedia%2Ffundraising%2Fdash.git/master/test_data%2FDonationQueueMessages.json but I quickly discovered that conflicts were arising over the gateway id so I added some preprocessing for that (which is outside the timed section). I didn't think the harm in duplicating the sample data was enough to warrant clever stuff around fetching it Sample command drush qperf-d 20 "Staging:pre-upgrade test Bug: T127133 Change-Id: I80ba8cbd09a22a42786da4a951a5b8aed285054b --- A sites/all/modules/queue2civicrm/queue_performance.drush.inc A sites/all/modules/queue2civicrm/tests/data/donation_performance_profile_data.json A sites/all/modules/queue2civicrm/tests/logs/perf.log 3 files changed, 4,102 insertions(+), 0 deletions(-) Approvals: Awight: Looks good to me, approved jenkins-bot: Verified -- To view, visit https://gerrit.wikimedia.org/r/273179 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: I80ba8cbd09a22a42786da4a951a5b8aed285054b Gerrit-PatchSet: 5 Gerrit-Project: wikimedia/fundraising/crm Gerrit-Branch: master Gerrit-Owner: Eileen <[email protected]> Gerrit-Reviewer: Awight <[email protected]> Gerrit-Reviewer: Cdentinger <[email protected]> Gerrit-Reviewer: Eileen <[email protected]> Gerrit-Reviewer: Ejegg <[email protected]> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
