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

silkworm_infra_test: slow protocol stub tests on macOS #2502

Open
battlmonstr opened this issue Nov 12, 2024 · 0 comments
Open

silkworm_infra_test: slow protocol stub tests on macOS #2502

battlmonstr opened this issue Nov 12, 2024 · 0 comments

Comments

@battlmonstr
Copy link
Contributor

battlmonstr commented Nov 12, 2024

Run:

time ./build/silkworm/infra/silkworm_infra_test --min-duration=1

Reports 4 tests that take almost exactly 5 sec each:

5.008 s: ETHBACKEND protocol version with server stub
5.007 s: KV protocol version with server stub
5.004 s: MINING protocol version with server stub
5.008 s: TXPOOL protocol version with server stub
0.57s user 0.29s system 3% cpu 21.823 total

This is a sign of "sleep"-driven tests, and should be fixed.
This can be a 20 sec win for make test.

@battlmonstr battlmonstr changed the title silkworm_infra_test: fix slow tests silkworm_infra_test: slow protocol stub tests Nov 12, 2024
@battlmonstr battlmonstr changed the title silkworm_infra_test: slow protocol stub tests silkworm_infra_test: slow protocol stub tests on macOS Nov 12, 2024
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

1 participant