Skip to content

Conversation

@firewave
Copy link
Collaborator

@firewave firewave commented Mar 7, 2023

This moves all the logic from the actual thread implementation into ThreadData so it can be used by ProcessExecutor as well.

@danmar danmar merged commit 2c05281 into danmar:main Mar 9, 2023
@firewave firewave deleted the thread branch March 9, 2023 19:23
firewave added a commit that referenced this pull request Oct 5, 2023
#4876)

This is a step onto leveraging the `ThreadExecutor` implementation for
`ProcessExecutor` which is a follow-up to #4870. We need to have the
proper test coverage and the existing implementations working as
expected before we move to the shared code.

Fixes:
- added `--showtime=` tests for all executor implementations
- only print `--showtime=summary` once at the end
- prevents `--showtime=` by multiple threads to be written at the same
time - essentially breaking the output
- reset the timer results before each test
- deprecated `top5` in favor of `top5_file`
- fixed printing for all executors except `ProcessExecutor`
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

Successfully merging this pull request may close these issues.

2 participants