diff --git a/performance-tests/README.md b/performance-tests/README.md new file mode 100644 index 0000000000..dd71bbb7b2 --- /dev/null +++ b/performance-tests/README.md @@ -0,0 +1,13 @@ +### Performance tests + +To run performance tests: +1. Ensure that Open Inwoner is running on port 8000 +2. Have Open Inwoner configured to connect with test.openzaak.nl +3. Run the following commands: + +```code +cd performance-tests +./tests.sh +``` + +The results will be stored in `performance-tests/results/` \ No newline at end of file diff --git a/performance-tests/locustfile.py b/performance-tests/locustfile.py index 9638cc1663..46fc3ce816 100644 --- a/performance-tests/locustfile.py +++ b/performance-tests/locustfile.py @@ -1,6 +1,7 @@ from urllib.parse import urlencode from locust import HttpUser, events, task +from pyquery import PyQuery as pq class OpenInwonerUser(HttpUser): @@ -10,6 +11,10 @@ class OpenInwonerUser(HttpUser): def mijn_aanvragen_list_cached(self): self.client.get("/mijn-aanvragen/content", headers={"HX-Request": "true"}) + @task + def mijn_aanvragen_detail_cached(self): + self.client.get(f"{self.case_link}content", headers={"HX-Request": "true"}) + def on_start(self): params = urlencode( { @@ -34,9 +39,18 @@ def on_start(self): ) # Ensure uncached call is logged separately - self.client.get( + response = self.client.get( "/mijn-aanvragen/content?_uncached=true", headers={"HX-Request": "true"} ) + doc = pq(response.content) + + self.case_link = pq( + doc.find(".cases__link:not([href^='https://www.maykinmedia'])")[0] + ).attr("href") + + self.client.get( + f"{self.case_link}content?uncached=true", headers={"HX-Request": "true"} + ) @events.init_command_line_parser.add_listener diff --git a/performance-tests/results/1.13.2_exceptions.csv b/performance-tests/results/1.13.2_exceptions.csv new file mode 100644 index 0000000000..5e0e870c25 --- /dev/null +++ b/performance-tests/results/1.13.2_exceptions.csv @@ -0,0 +1 @@ +Count,Message,Traceback,Nodes diff --git a/performance-tests/results/1.13.2_failures.csv b/performance-tests/results/1.13.2_failures.csv new file mode 100644 index 0000000000..f87ff75fda --- /dev/null +++ b/performance-tests/results/1.13.2_failures.csv @@ -0,0 +1 @@ +Method,Name,Error,Occurrences diff --git a/performance-tests/results/1.13.2_stats.csv b/performance-tests/results/1.13.2_stats.csv new file mode 100644 index 0000000000..67b76bab84 --- /dev/null +++ b/performance-tests/results/1.13.2_stats.csv @@ -0,0 +1,8 @@ +Type,Name,Request Count,Failure Count,Median Response Time,Average Response Time,Min Response Time,Max Response Time,Average Content Size,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100% +GET,/digid/idp/inloggen_ww/?acs=http%3A%2F%2Flocalhost%3A8000%2Fdigid%2Facs%2F&next=http%3A%2F%2Flocalhost%3A8000&cancel=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flogin%2F,1,0,146.44589700037614,146.44589700037614,146.44589700037614,146.44589700037614,6738.0,0.01699389075821419,0.0,150,150,150,150,150,150,150,150,150,150,150 +POST,/digid/idp/inloggen_ww/?acs=http%3A%2F%2Flocalhost%3A8000%2Fdigid%2Facs%2F&next=http%3A%2F%2Flocalhost%3A8000&cancel=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flogin%2F,1,0,3960.5279700008396,3960.5279700008396,3960.5279700008396,3960.5279700008396,44600.0,0.01699389075821419,0.0,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000 +GET,/mijn-aanvragen/21c55ba6-9ea0-4656-b1e0-8eb51f6cc683/status/content,26,0,500.0,511.9577764229549,474.6624620001967,691.7959559996234,9102.0,0.4418411597135689,0.0,500,500,510,520,530,650,690,690,690,690,690 +GET,/mijn-aanvragen/21c55ba6-9ea0-4656-b1e0-8eb51f6cc683/status/content?uncached=true,1,0,4533.060666999518,4533.060666999518,4533.060666999518,4533.060666999518,9102.0,0.01699389075821419,0.0,4500,4500,4500,4500,4500,4500,4500,4500,4500,4500,4500 +GET,/mijn-aanvragen/content,13,0,670.0,676.1979229231656,622.2663909993571,706.8090819993813,17820.0,0.22092057985678445,0.0,670,690,700,700,710,710,710,710,710,710,710 +GET,/mijn-aanvragen/content?_uncached=true,1,0,9060.142850001284,9060.142850001284,9060.142850001284,9060.142850001284,17895.0,0.01699389075821419,0.0,9100,9100,9100,9100,9100,9100,9100,9100,9100,9100,9100 +,Aggregated,43,0,520.0,925.6198271860465,146.44589700037614,9060.142850001284,12712.720930232557,0.7307373026032101,0.0,520,660,670,690,710,4000,9100,9100,9100,9100,9100 diff --git a/performance-tests/results/1.13.2_stats_history.csv b/performance-tests/results/1.13.2_stats_history.csv new file mode 100644 index 0000000000..682dc6d79f --- /dev/null +++ b/performance-tests/results/1.13.2_stats_history.csv @@ -0,0 +1,52 @@ +Timestamp,User Count,Type,Name,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100%,Total Request Count,Total Failure Count,Total Median Response Time,Total Average Response Time,Total Min Response Time,Total Max Response Time,Total Average Content Size +1706183628,0,,Aggregated,0.000000,0.000000,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,0,0,0,0.0,0,0,0 +1706183629,1,,Aggregated,0.000000,0.000000,150,150,150,150,150,150,150,150,150,150,150,1,0,146.44589700037614,146.44589700037614,146.44589700037614,146.44589700037614,6738.0 +1706183630,1,,Aggregated,0.000000,0.000000,150,150,150,150,150,150,150,150,150,150,150,1,0,146.44589700037614,146.44589700037614,146.44589700037614,146.44589700037614,6738.0 +1706183631,1,,Aggregated,0.000000,0.000000,150,150,150,150,150,150,150,150,150,150,150,1,0,146.44589700037614,146.44589700037614,146.44589700037614,146.44589700037614,6738.0 +1706183632,1,,Aggregated,0.000000,0.000000,150,150,150,150,150,150,150,150,150,150,150,1,0,146.44589700037614,146.44589700037614,146.44589700037614,146.44589700037614,6738.0 +1706183633,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183634,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183635,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183636,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183637,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183638,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183639,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183640,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183641,1,,Aggregated,0.500000,0.000000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,4000,2,0,150.0,2053.486933500608,146.44589700037614,3960.5279700008396,25669.0 +1706183642,1,,Aggregated,0.100000,0.000000,4000,4000,9100,9100,9100,9100,9100,9100,9100,9100,9100,3,0,4000.0,4389.0389056675,146.44589700037614,9060.142850001284,23077.666666666668 +1706183643,1,,Aggregated,0.100000,0.000000,4000,4000,9100,9100,9100,9100,9100,9100,9100,9100,9100,3,0,4000.0,4389.0389056675,146.44589700037614,9060.142850001284,23077.666666666668 +1706183644,1,,Aggregated,0.100000,0.000000,4000,4000,9100,9100,9100,9100,9100,9100,9100,9100,9100,3,0,4000.0,4389.0389056675,146.44589700037614,9060.142850001284,23077.666666666668 +1706183645,1,,Aggregated,0.100000,0.000000,4000,4000,9100,9100,9100,9100,9100,9100,9100,9100,9100,3,0,4000.0,4389.0389056675,146.44589700037614,9060.142850001284,23077.666666666668 +1706183646,1,,Aggregated,0.100000,0.000000,4500,4500,9100,9100,9100,9100,9100,9100,9100,9100,9100,4,0,4000.0,4425.044346000504,146.44589700037614,9060.142850001284,19583.75 +1706183647,1,,Aggregated,0.100000,0.000000,4000,4500,4500,9100,9100,9100,9100,9100,9100,9100,9100,5,0,4000.0,3678.3946680003282,146.44589700037614,9060.142850001284,17487.4 +1706183648,1,,Aggregated,0.100000,0.000000,4000,4000,4500,4500,9100,9100,9100,9100,9100,9100,9100,6,0,690.0,3151.2383440000726,146.44589700037614,9060.142850001284,16089.833333333334 +1706183649,1,,Aggregated,0.200000,0.000000,690,4000,4500,4500,9100,9100,9100,9100,9100,9100,9100,7,0,690.0,2773.0543261428206,146.44589700037614,9060.142850001284,15091.57142857143 +1706183650,1,,Aggregated,0.300000,0.000000,690,4000,4500,4500,9100,9100,9100,9100,9100,9100,9100,8,0,690.0,2512.3069187500278,146.44589700037614,9060.142850001284,15432.625 +1706183651,1,,Aggregated,0.400000,0.000000,690,690,4000,4500,9100,9100,9100,9100,9100,9100,9100,9,0,690.0,2289.109206999961,146.44589700037614,9060.142850001284,14729.222222222223 +1706183652,1,,Aggregated,0.500000,0.000000,690,690,4000,4500,9100,9100,9100,9100,9100,9100,9100,10,0,670.0,2126.8315944998903,146.44589700037614,9060.142850001284,15038.3 +1706183653,1,,Aggregated,0.600000,0.000000,670,690,4000,4000,4500,9100,9100,9100,9100,9100,9100,11,0,670.0,1980.6629140907303,146.44589700037614,9060.142850001284,14498.636363636364 +1706183654,1,,Aggregated,0.600000,0.000000,670,690,4000,4000,4500,9100,9100,9100,9100,9100,9100,12,0,520.0,1856.5188779998607,146.44589700037614,9060.142850001284,14048.916666666666 +1706183655,1,,Aggregated,0.700000,0.000000,520,690,690,4000,4500,9100,9100,9100,9100,9100,9100,13,0,520.0,1751.778898615297,146.44589700037614,9060.142850001284,13668.384615384615 +1706183656,1,,Aggregated,0.800000,0.000000,670,690,690,4000,4500,9100,9100,9100,9100,9100,9100,14,0,520.0,1674.3268104998735,146.44589700037614,9060.142850001284,13964.92857142857 +1706183657,1,,Aggregated,0.800000,0.000000,670,690,690,4000,4500,9100,9100,9100,9100,9100,9100,14,0,520.0,1674.3268104998735,146.44589700037614,9060.142850001284,13964.92857142857 +1706183658,1,,Aggregated,0.900000,0.000000,670,690,700,4000,4500,9100,9100,9100,9100,9100,9100,15,0,670.0,1609.5582465333184,146.44589700037614,9060.142850001284,14221.933333333332 +1706183659,1,,Aggregated,1.000000,0.000000,670,690,700,700,4500,9100,9100,9100,9100,9100,9100,16,0,520.0,1540.1677637499915,146.44589700037614,9060.142850001284,13901.9375 +1706183660,1,,Aggregated,1.000000,0.000000,520,690,690,700,4500,9100,9100,9100,9100,9100,9100,17,0,520.0,1478.9106779999736,146.44589700037614,9060.142850001284,13619.588235294117 +1706183661,1,,Aggregated,1.000000,0.000000,520,670,690,700,4500,9100,9100,9100,9100,9100,9100,18,0,520.0,1424.2436834444259,146.44589700037614,9060.142850001284,13368.611111111111 +1706183662,1,,Aggregated,1.000000,0.000000,520,670,690,700,4500,9100,9100,9100,9100,9100,9100,19,0,520.0,1375.7374102104604,146.44589700037614,9060.142850001284,13144.052631578947 +1706183663,1,,Aggregated,1.000000,0.000000,520,690,700,700,4500,9100,9100,9100,9100,9100,9100,20,0,520.0,1342.0686175999435,146.44589700037614,9060.142850001284,13377.85 +1706183664,1,,Aggregated,1.000000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,21,0,520.0,1302.8671433332333,146.44589700037614,9060.142850001284,13174.238095238095 +1706183665,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,22,0,520.0,1265.7875696817098,146.44589700037614,9060.142850001284,12989.136363636364 +1706183666,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,23,0,520.0,1232.4477851738186,146.44589700037614,9060.142850001284,12820.130434782608 +1706183667,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,24,0,520.0,1207.0235604165493,146.44589700037614,9060.142850001284,13028.458333333334 +1706183668,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,25,0,520.0,1180.022321919896,146.44589700037614,9060.142850001284,12871.4 +1706183669,1,,Aggregated,0.900000,0.000000,520,670,690,690,4000,4500,9100,9100,9100,9100,9100,26,0,520.0,1154.3006668075927,146.44589700037614,9060.142850001284,12726.423076923076 +1706183670,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,27,0,520.0,1137.7233124813856,146.44589700037614,9060.142850001284,12915.074074074075 +1706183671,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,28,0,520.0,1120.7501000356258,146.44589700037614,9060.142850001284,13090.25 +1706183672,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,29,0,520.0,1098.7607715171557,146.44589700037614,9060.142850001284,12952.724137931034 +1706183673,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,29,0,520.0,1098.7607715171557,146.44589700037614,9060.142850001284,12952.724137931034 +1706183674,1,,Aggregated,0.900000,0.000000,520,670,690,700,4000,4500,9100,9100,9100,9100,9100,30,0,520.0,1084.487547066601,146.44589700037614,9060.142850001284,13114.966666666667 +1706183675,1,,Aggregated,0.900000,0.000000,520,670,690,690,710,4500,9100,9100,9100,9100,9100,31,0,520.0,1070.243291677358,146.44589700037614,9060.142850001284,13266.741935483871 +1706183676,1,,Aggregated,1.000000,0.000000,530,670,690,690,710,4500,9100,9100,9100,9100,9100,32,0,520.0,1057.027951093687,146.44589700037614,9060.142850001284,13136.59375 +1706183677,1,,Aggregated,1.000000,0.000000,520,660,670,690,710,4500,9100,9100,9100,9100,9100,33,0,520.0,1039.8739702726414,146.44589700037614,9060.142850001284,13014.333333333334 +1706183678,1,,Aggregated,0.900000,0.000000,530,670,690,700,710,4500,9100,9100,9100,9100,9100,34,0,520.0,1030.0779441469572,146.44589700037614,9060.142850001284,13155.676470588236 diff --git a/performance-tests/results/zgw-consumers-0.28.0_exceptions.csv b/performance-tests/results/zgw-consumers-0.28.0_exceptions.csv new file mode 100644 index 0000000000..5e0e870c25 --- /dev/null +++ b/performance-tests/results/zgw-consumers-0.28.0_exceptions.csv @@ -0,0 +1 @@ +Count,Message,Traceback,Nodes diff --git a/performance-tests/results/zgw-consumers-0.28.0_failures.csv b/performance-tests/results/zgw-consumers-0.28.0_failures.csv new file mode 100644 index 0000000000..f87ff75fda --- /dev/null +++ b/performance-tests/results/zgw-consumers-0.28.0_failures.csv @@ -0,0 +1 @@ +Method,Name,Error,Occurrences diff --git a/performance-tests/results/zgw-consumers-0.28.0_stats.csv b/performance-tests/results/zgw-consumers-0.28.0_stats.csv new file mode 100644 index 0000000000..c38cd93e45 --- /dev/null +++ b/performance-tests/results/zgw-consumers-0.28.0_stats.csv @@ -0,0 +1,8 @@ +Type,Name,Request Count,Failure Count,Median Response Time,Average Response Time,Min Response Time,Max Response Time,Average Content Size,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100% +GET,/digid/idp/inloggen_ww/?acs=http%3A%2F%2Flocalhost%3A8000%2Fdigid%2Facs%2F&next=http%3A%2F%2Flocalhost%3A8000&cancel=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flogin%2F,1,0,118.73440300041693,118.73440300041693,118.73440300041693,118.73440300041693,6738.0,0.016998126921107075,0.0,120,120,120,120,120,120,120,120,120,120,120 +POST,/digid/idp/inloggen_ww/?acs=http%3A%2F%2Flocalhost%3A8000%2Fdigid%2Facs%2F&next=http%3A%2F%2Flocalhost%3A8000&cancel=http%3A%2F%2Flocalhost%3A8000%2Faccounts%2Flogin%2F,1,0,1976.276933999543,1976.276933999543,1976.276933999543,1976.276933999543,44600.0,0.016998126921107075,0.0,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000 +GET,/mijn-aanvragen/21c55ba6-9ea0-4656-b1e0-8eb51f6cc683/status/content,21,0,480.0,491.3570622382048,455.9009780004999,555.5192379997607,9102.0,0.3569606653432486,0.0,480,500,510,510,530,550,560,560,560,560,560 +GET,/mijn-aanvragen/21c55ba6-9ea0-4656-b1e0-8eb51f6cc683/status/content?uncached=true,1,0,1517.284825000388,1517.284825000388,1517.284825000388,1517.284825000388,9102.0,0.016998126921107075,0.0,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500,1500 +GET,/mijn-aanvragen/content,24,0,600.0,611.5234143332297,558.8081490004697,678.8694429997122,17820.0,0.40795504610656985,0.0,600,610,640,660,670,670,680,680,680,680,680 +GET,/mijn-aanvragen/content?_uncached=true,1,0,8173.7291119989095,8173.7291119989095,8173.7291119989095,8173.7291119989095,17895.0,0.016998126921107075,0.0,8200,8200,8200,8200,8200,8200,8200,8200,8200,8200,8200 +,Aggregated,49,0,570.0,750.6343984693688,118.73440300041693,8173.7291119989095,14227.69387755102,0.8329082191342467,0.0,570,600,610,630,670,1500,8200,8200,8200,8200,8200 diff --git a/performance-tests/results/zgw-consumers-0.28.0_stats_history.csv b/performance-tests/results/zgw-consumers-0.28.0_stats_history.csv new file mode 100644 index 0000000000..3075c1b1b2 --- /dev/null +++ b/performance-tests/results/zgw-consumers-0.28.0_stats_history.csv @@ -0,0 +1,52 @@ +Timestamp,User Count,Type,Name,Requests/s,Failures/s,50%,66%,75%,80%,90%,95%,98%,99%,99.9%,99.99%,100%,Total Request Count,Total Failure Count,Total Median Response Time,Total Average Response Time,Total Min Response Time,Total Max Response Time,Total Average Content Size +1706182963,0,,Aggregated,0.000000,0.000000,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,N/A,0,0,0,0.0,0,0,0 +1706182964,1,,Aggregated,0.000000,0.000000,120,120,120,120,120,120,120,120,120,120,120,1,0,118.73440300041693,118.73440300041693,118.73440300041693,118.73440300041693,6738.0 +1706182965,1,,Aggregated,0.000000,0.000000,120,120,120,120,120,120,120,120,120,120,120,1,0,118.73440300041693,118.73440300041693,118.73440300041693,118.73440300041693,6738.0 +1706182966,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182967,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182968,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182969,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182970,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182971,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182972,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182973,1,,Aggregated,0.000000,0.000000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2000,2,0,120.0,1047.50566849998,118.73440300041693,1976.276933999543,25669.0 +1706182974,1,,Aggregated,0.222222,0.000000,2000,2000,8200,8200,8200,8200,8200,8200,8200,8200,8200,3,0,2000.0,3422.9134829996233,118.73440300041693,8173.7291119989095,23077.666666666668 +1706182975,1,,Aggregated,0.200000,0.000000,2000,2000,8200,8200,8200,8200,8200,8200,8200,8200,8200,4,0,1500.0,2946.5063184998144,118.73440300041693,8173.7291119989095,19583.75 +1706182976,1,,Aggregated,0.200000,0.000000,1500,2000,2000,8200,8200,8200,8200,8200,8200,8200,8200,5,0,1500.0,2492.978943399794,118.73440300041693,8173.7291119989095,19231.0 +1706182977,1,,Aggregated,0.200000,0.000000,1500,1500,2000,2000,8200,8200,8200,8200,8200,8200,8200,6,0,680.0,2175.9422969998923,118.73440300041693,8173.7291119989095,18995.833333333332 +1706182978,1,,Aggregated,0.300000,0.000000,680,1500,2000,2000,8200,8200,8200,8200,8200,8200,8200,7,0,680.0,1948.9740798570504,118.73440300041693,8173.7291119989095,18827.85714285714 +1706182979,1,,Aggregated,0.300000,0.000000,680,1500,2000,2000,8200,8200,8200,8200,8200,8200,8200,8,0,590.0,1772.1765558749212,118.73440300041693,8173.7291119989095,17612.125 +1706182980,1,,Aggregated,0.400000,0.000000,660,680,1500,2000,8200,8200,8200,8200,8200,8200,8200,9,0,660.0,1648.4281582219814,118.73440300041693,8173.7291119989095,17635.222222222223 +1706182981,1,,Aggregated,0.500000,0.000000,660,680,1500,2000,8200,8200,8200,8200,8200,8200,8200,10,0,590.0,1532.3088326998914,118.73440300041693,8173.7291119989095,16781.9 +1706182982,1,,Aggregated,0.600000,0.000000,660,680,1500,1500,2000,8200,8200,8200,8200,8200,8200,11,0,660.0,1452.8608536362628,118.73440300041693,8173.7291119989095,16876.272727272728 +1706182983,1,,Aggregated,0.600000,0.000000,660,680,1500,1500,2000,8200,8200,8200,8200,8200,8200,11,0,660.0,1452.8608536362628,118.73440300041693,8173.7291119989095,16876.272727272728 +1706182984,1,,Aggregated,0.800000,0.000000,660,660,1500,1500,2000,8200,8200,8200,8200,8200,8200,12,0,590.0,1380.738105583229,118.73440300041693,8173.7291119989095,16954.916666666668 +1706182985,1,,Aggregated,0.900000,0.000000,660,670,680,1500,2000,8200,8200,8200,8200,8200,8200,13,0,660.0,1326.3692833844777,118.73440300041693,8173.7291119989095,17021.46153846154 +1706182986,1,,Aggregated,0.900000,0.000000,660,670,680,1500,2000,8200,8200,8200,8200,8200,8200,14,0,590.0,1268.122506642742,118.73440300041693,8173.7291119989095,16455.785714285714 +1706182987,1,,Aggregated,0.900000,0.000000,590,660,680,1500,2000,8200,8200,8200,8200,8200,8200,15,0,590.0,1220.3045576665318,118.73440300041693,8173.7291119989095,15965.533333333333 +1706182988,1,,Aggregated,0.900000,0.000000,590,660,680,680,2000,8200,8200,8200,8200,8200,8200,16,0,590.0,1180.960723249882,118.73440300041693,8173.7291119989095,16081.4375 +1706182989,1,,Aggregated,0.900000,0.000000,590,660,670,680,2000,8200,8200,8200,8200,8200,8200,17,0,590.0,1139.682843176321,118.73440300041693,8173.7291119989095,15670.882352941177 +1706182990,1,,Aggregated,0.900000,0.000000,590,660,670,680,2000,8200,8200,8200,8200,8200,8200,18,0,590.0,1107.229309555401,118.73440300041693,8173.7291119989095,15305.944444444445 +1706182991,1,,Aggregated,0.900000,0.000000,590,660,670,680,2000,8200,8200,8200,8200,8200,8200,19,0,590.0,1075.655893631464,118.73440300041693,8173.7291119989095,14979.421052631578 +1706182992,1,,Aggregated,0.900000,0.000000,590,660,670,680,2000,8200,8200,8200,8200,8200,8200,20,0,590.0,1047.004979149915,118.73440300041693,8173.7291119989095,14685.55 +1706182993,1,,Aggregated,0.900000,0.000000,590,590,660,670,1500,2000,8200,8200,8200,8200,8200,21,0,590.0,1021.1142797618647,118.73440300041693,8173.7291119989095,14419.666666666666 +1706182994,1,,Aggregated,0.900000,0.000000,590,590,660,670,1500,2000,8200,8200,8200,8200,8200,22,0,560.0,997.751321636315,118.73440300041693,8173.7291119989095,14177.954545454546 +1706182995,1,,Aggregated,0.900000,0.000000,590,600,660,670,1500,2000,8200,8200,8200,8200,8200,23,0,590.0,980.432380391231,118.73440300041693,8173.7291119989095,14336.304347826086 +1706182996,1,,Aggregated,1.000000,0.000000,590,590,660,670,1500,2000,8200,8200,8200,8200,8200,24,0,560.0,959.0387738332234,118.73440300041693,8173.7291119989095,14118.208333333334 +1706182997,1,,Aggregated,1.000000,0.000000,590,600,660,670,1500,2000,8200,8200,8200,8200,8200,25,0,590.0,945.8947911998985,118.73440300041693,8173.7291119989095,14266.28 +1706182998,1,,Aggregated,1.000000,0.000000,590,600,660,660,1500,2000,8200,8200,8200,8200,8200,26,0,560.0,927.8071678460177,118.73440300041693,8173.7291119989095,14067.653846153846 +1706182999,1,,Aggregated,1.000000,0.000000,580,590,660,660,1500,2000,8200,8200,8200,8200,8200,27,0,580.0,914.8843187776947,118.73440300041693,8173.7291119989095,14206.62962962963 +1706183000,1,,Aggregated,1.000000,0.000000,580,590,660,660,1500,2000,8200,8200,8200,8200,8200,28,0,570.0,902.6328678927322,118.73440300041693,8173.7291119989095,14335.67857142857 +1706183001,1,,Aggregated,1.000000,0.000000,570,590,630,660,1500,2000,8200,8200,8200,8200,8200,29,0,570.0,887.8827091033098,118.73440300041693,8173.7291119989095,14155.206896551725 +1706183002,1,,Aggregated,1.000000,0.000000,570,590,630,660,1500,2000,8200,8200,8200,8200,8200,30,0,560.0,876.9135570998818,118.73440300041693,8173.7291119989095,14277.366666666667 +1706183003,1,,Aggregated,1.000000,0.000000,570,590,630,660,680,2000,8200,8200,8200,8200,8200,31,0,570.0,868.2060648385935,118.73440300041693,8173.7291119989095,14391.645161290322 +1706183004,1,,Aggregated,1.000000,0.000000,570,590,630,660,680,2000,8200,8200,8200,8200,8200,31,0,570.0,868.2060648385935,118.73440300041693,8173.7291119989095,14391.645161290322 +1706183005,1,,Aggregated,1.000000,0.000000,580,600,630,660,680,2000,8200,8200,8200,8200,8200,32,0,570.0,860.5554577185899,118.73440300041693,8173.7291119989095,14498.78125 +1706183006,1,,Aggregated,1.000000,0.000000,580,590,620,660,680,2000,8200,8200,8200,8200,8200,33,0,580.0,852.3987498483069,118.73440300041693,8173.7291119989095,14599.424242424242 +1706183008,1,,Aggregated,0.900000,0.000000,580,590,620,660,680,2000,8200,8200,8200,8200,8200,34,0,570.0,841.1540267645571,118.73440300041693,8173.7291119989095,14437.735294117647 +1706183009,1,,Aggregated,0.900000,0.000000,580,600,620,660,680,2000,8200,8200,8200,8200,8200,35,0,580.0,834.5709369998596,118.73440300041693,8173.7291119989095,14534.371428571429 +1706183010,1,,Aggregated,0.900000,0.000000,590,600,620,630,680,2000,8200,8200,8200,8200,8200,36,0,580.0,828.2530228887279,118.73440300041693,8173.7291119989095,14625.638888888889 +1706183011,1,,Aggregated,0.900000,0.000000,580,600,610,630,680,2000,8200,8200,8200,8200,8200,37,0,580.0,818.9204630268521,118.73440300041693,8173.7291119989095,14476.351351351352 +1706183012,1,,Aggregated,0.900000,0.000000,590,600,610,630,680,2000,8200,8200,8200,8200,8200,38,0,580.0,812.8096968419318,118.73440300041693,8173.7291119989095,14564.342105263158 +1706183013,1,,Aggregated,0.900000,0.000000,590,600,610,630,680,2000,8200,8200,8200,8200,8200,39,0,590.0,807.3217207690901,118.73440300041693,8173.7291119989095,14647.820512820514 +1706183014,1,,Aggregated,0.900000,0.000000,590,600,610,630,680,2000,8200,8200,8200,8200,8200,40,0,580.0,799.1415515498829,118.73440300041693,8173.7291119989095,14509.175 diff --git a/performance-tests/tests.sh b/performance-tests/tests.sh new file mode 100755 index 0000000000..91c5b2ab64 --- /dev/null +++ b/performance-tests/tests.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +# branch_name=$(git rev-parse --abbrev-ref HEAD) +commit=$(git rev-parse --short HEAD) +locust \ + --host http://localhost:8000 \ + --bsn 111111110 \ + --run-time 60s \ + --headless \ + --only-summary \ + --csv="results/${commit}"