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

Writing time not reported correctly with parallel option #15

Open
StephanKuempel opened this issue Apr 5, 2022 · 2 comments
Open

Writing time not reported correctly with parallel option #15

StephanKuempel opened this issue Apr 5, 2022 · 2 comments

Comments

@StephanKuempel
Copy link
Contributor

Using sphinx-performance with option parallel seems to not report the read-time and write-time correctly.
I think i remember that this was documented somewhere, but nonetheless, i'll open an issue also here.

@danwos
Copy link
Member

danwos commented Apr 6, 2022

Ohh yes, that's a known bug and I have no easy solution to solve it .

The onyl idea is to register own functions to some sphinx events and use them to measure the time.
Would allow a lot of interesting measurements.

So idea would be that each "sphinx-performance project" must include a "sphinx-performance extension" in its conf.pyfile.
This extension then writes all measured results in a performance-results.json in the used build folder.

But I'm open for any other ideas :)

@StephanKuempel
Copy link
Contributor Author

StephanKuempel commented Apr 6, 2022

There is already a fix/PR for the wrong behaviour of sphinx logging in parallel:
sphinx-doc/sphinx#9096
That would enable better possibilities to scan the console/log for write times.

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

No branches or pull requests

2 participants