Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Performance tests for event signup #648

Open
jaspnas opened this issue Nov 18, 2024 · 1 comment · May be fixed by #652
Open

feat: Performance tests for event signup #648

jaspnas opened this issue Nov 18, 2024 · 1 comment · May be fixed by #652
Assignees
Labels
feature New feature or request

Comments

@jaspnas
Copy link
Collaborator

jaspnas commented Nov 18, 2024

Is your feature request related to a problem? Please describe.

We want performance testing for the events module.

Describe the solution you'd like

Use python or a tool like k6 to simulate lots of signups to an event.

Additional context

Having it able to be run locally should be enough for now. Github actions might not have the horsepower for this.

@jaspnas jaspnas added the feature New feature or request label Nov 18, 2024
@jaspnas jaspnas self-assigned this Nov 18, 2024
@jaspnas
Copy link
Collaborator Author

jaspnas commented Nov 19, 2024

Ran an initial test with 500 signups at once, It is very slow but does not crash:

checks.........................: 100.00% 18 out of 18
     data_received..................: 13 MB   375 kB/s
     data_sent......................: 442 kB  13 kB/s
     http_req_blocked...............: avg=271.2µs  min=832ns   med=4.72µs  max=41.69ms  p(90)=240.24µs p(95)=267.36µs
     http_req_connecting............: avg=241.65µs min=0s      med=0s      max=41.25ms  p(90)=165.67µs p(95)=187.27µs
     http_req_duration..............: avg=9.6s     min=13.71ms med=6.35s   max=28.33s   p(90)=23.42s   p(95)=23.8s   
       { expected_response:true }...: avg=9.6s     min=13.71ms med=6.35s   max=28.33s   p(90)=23.42s   p(95)=23.8s   
     http_req_failed................: 0.00%   0 out of 1205
     http_req_receiving.............: avg=57.63µs  min=15.66µs med=50.83µs max=700.18µs p(90)=90.7µs   p(95)=107.05µs
     http_req_sending...............: avg=29.36µs  min=3.52µs  med=16.67µs max=541.13µs p(90)=63.14µs  p(95)=74.61µs 
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=9.6s     min=12.93ms med=6.35s   max=28.33s   p(90)=23.42s   p(95)=23.8s   
     http_reqs......................: 1205    34.42439/s
     iteration_duration.............: avg=19.91s   min=3.79s   med=18.98s  max=34.17s   p(90)=34.14s   p(95)=34.15s  
     iterations.....................: 18      0.514223/s
     vus............................: 482     min=94        max=499
     vus_max........................: 500     min=500       max=500

@jaspnas jaspnas linked a pull request Nov 19, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant