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

Print an "in progress" message during reports creation process #3404

Open
lepapareil opened this issue Nov 15, 2024 · 1 comment
Open

Print an "in progress" message during reports creation process #3404

lepapareil opened this issue Nov 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@lepapareil
Copy link
Collaborator

lepapareil commented Nov 15, 2024

Problem to solve

Actually --report-* options do not print any message when they are generating output files, so when a huge number of hurl files are executed, execution seems to be freezed between the end of the tests and the end of the output file generation (the hidden one).

This is even more noticeable when we run Hurl with the --test option, as there is a long delay between displaying the last success message and the test summary part.

Proposal

Print an "in progress" message like implicit parallel does when using --report-* and --test together.

@lepapareil lepapareil added the enhancement New feature or request label Nov 15, 2024
@lepapareil lepapareil changed the title Print a message during report creation process Print an "in progress" message during reports creation process Nov 15, 2024
@jcamiel
Copy link
Collaborator

jcamiel commented Dec 22, 2024

I've done some experiment. With 1000 Hurl files to run, we're producing around 3000 files for the HTML report (1 timeline, 1 run, 1 source per test). With a flamegraph:

Image

When we look at the report generation (the last second of the timeline), we can see that we're spending 64% of the time in the create file system call. It less us not a lot of room for optimisation, apart multi-threading the HTML report creation.

What we should do to improve things:

  • at least: add a temporary message "Creating reports..."
  • multithread the HTML report creation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants