Closed ericbuckley closed 3 months ago
@zdeveloper @colekettler @arinkulshi @jonchang @knguyenrise8 I wanted to tag the 5 of you in case you're interested in learning about some of the performance testing work I'm doing with the phdi record-linkage API. If you pull down the branch, it's pretty easy to get up and running with just 1 docker compose command. There are also a couple of recordings linked in the PR description if you prefer.
Pull Request
Description
These changes build upon the record linkage performance testing compose environment by introducing the
scripts/test_synthea_data.sh
script to execute tests using patient data generated by Synthea. The script breaks the process down into 4 stepsscripts/reset_db.sh
)scripts/generate_synthetic_data.sh
)scripts/send_linkage_requests.sh
)Related Issues
Additional Notes
Recordings on Running the Performance Tests
Running the tests
Environment variables
The environment variables are now split across an
rlpt.env
file and the environment attributes incompose.yml
, see the Environment Variables section in the README.md for more information on why.Notes on src/link.py
The link.py module was copied from the phdi.linkage.link module and overridden to test out a performance change (see README.md Performance Test Parameters for more details). It was decided that it be easier to edit and maintain a copied version rather than a diff file, but for the sake of this review a diff patch is provided below to more easily see the changes.
Checklist
Please review and complete the following checklist before submitting your pull request:
Checklist for Reviewers
Please review and complete the following checklist during the review process: