-
Notifications
You must be signed in to change notification settings - Fork 20
Performance Report 2019 08 20
NB: This was an initial baseline report for Hearth to have some kind of an idea of how much Hearth is able to handle.
In this test, hearth is put under stress, with 100 virtual users making as many create Patient resources as possible during a two minute interval
Cycle 1 | Cycle 2 | Cycle 3 | Average | |
---|---|---|---|---|
Number of iterations (requests) | 44253 | 43318 | 43174 | 43581 |
Request duration (Avg) (ms) | 189.75 | 204.55 | 199.46 | 197.92 |
In this test, the patient resource is created through a PUT request. Hearth can be configured to create a new resource through the PUT method. Updating a resource that does not exist will then create a new resource. For this test, database indexing was done using the resource id. If there are no indexes the request will take longer.
Cycle 1 | Cycle 2 | Cycle 3 | Average | |
---|---|---|---|---|
Number of iterations (requests) | 31425 | 32246 | 30749 | 31473 |
Request duration (Avg) (ms) | 376.69 | 365.46 | 385.99 | 376.05 |
The test was also run five times (cycles) with no database index set. The patient resources in the database increases with each test cycle.
Cycle 1 | Cycle 2 | Cycle 3 | Cycle 4 | Cycle 5 | |
---|---|---|---|---|---|
Number of iterations (requests) | 11805 | 6068 | 4461 | 4043 | 3799 |
Request duration (Avg) (ms) | 1 | 1.95 | 2.64 | 2.91 | 3.1 |
In this test we create a Patient, an Encounter and 2 Observations for that patient. The observations created are retrieved and creation of the resources are verified. The resources are created sequentially, with the test making 5 HTTP requests in each iteration for two minutes
Cycle 1 | Cycle 2 | Average | |
---|---|---|---|
Number of iterations (requests) | 7309 | 7144 | 7226 |
Iteration duration (seconds) | 1.22 | 1.25 | 1.24 |
Request duration (Avg) (ms) | 243.68 | 249.63 | 246.66 |
In this test the resources are created and fetched in a bundle request. The 5 resources consist of a Patient, Encounter, 2 Observations and fetch Observations query, which is executed under a two minute interval
Cycle 1 | Cycle 2 | Average | |
---|---|---|---|
Number of iterations (requests) | 7518 | 7482 | 7500 |
Iteration duration (seconds) | 1.18 | 1.19 | 1.19 |
Request duration (Avg) (ms) | 1180 | 1190 | 1185 |