Improving load times for large tests #1114
-
Hi all! First of all, thanks for building such a wonderful tool! I've a large test suite (about 5200 code generated test cases, 1.7M on disk) which takes extremely long to load, it looks like Hurl loads the full file, parses the entire file and then executes each request. Is there a way to improve on this by executing each request as they're parsed/found so as to save test times? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hi, thanks for the feedback! Yes, you're right, Hurl parses the entire file, then run the all the entries once (it's like a comp language where a file is compiled before execution). We might try to see what we can improve with your use case, but don't expect anything soon because it's a "stucturing" decision for the software (would you be able to share one of your big test file with us so we can see if the parsing is not slowed by a performance issue?) That said:
|
Beta Was this translation helpful? Give feedback.
-
Hi @sunder-gather It looks effectively that there is a performance bug in the current Hurl parser. We have a pending PR to fix it; now I'm able to parse a 100,000 loc file in less than a second. I will ping you as soon as the fix is on our |
Beta Was this translation helpful? Give feedback.
Hi @sunder-gather It looks effectively that there is a performance bug in the current Hurl parser. We have a pending PR to fix it; now I'm able to parse a 100,000 loc file in less than a second. I will ping you as soon as the fix is on our
master
branch to see if it corrects your issue.Thanks for the feedback!