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

improve CI time: parallelize general state test #1340

Closed
jangko opened this issue Nov 30, 2022 · 1 comment
Closed

improve CI time: parallelize general state test #1340

jangko opened this issue Nov 30, 2022 · 1 comment

Comments

@jangko
Copy link
Contributor

jangko commented Nov 30, 2022

Experiment using evmstate tool to execute general state test in multiple process yield promising result.
The time needed to execute the test formerly 17m+, but after parallelized, it down to 3m+.

Using nim std lib osproc startProcess combine with chronos async works well on both linux and windows.
but the same code produce flaky result on macos. if we can isolate macos problem and fix it, it will reduce CI time significantly

@jangko
Copy link
Contributor Author

jangko commented Oct 19, 2023

The slowness in Windows CI have been identified and fixed fixed. No longer need for paralelization.

  • Switch C compiler from GCC to llvm-mingw.
  • Use libbacktrace instead of baked in nim stack strace.
  • Use explicit 127.0.01 instead of 'localhost' for all tests involving network services.

@jangko jangko closed this as completed Oct 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant