Skip to content

Conversation

@lum1n0us
Copy link
Collaborator

@lum1n0us lum1n0us commented Nov 7, 2021

It will reduce spec_test.yml from ~14min to ~9min. It will reduce ci_on_sgx from ~18min to ~12min.

@lum1n0us
Copy link
Collaborator Author

lum1n0us commented Nov 7, 2021

It will reduce ~4min if we can replace compiling WABT by using WABT binary release.

@lum1n0us
Copy link
Collaborator Author

lum1n0us commented Nov 8, 2021

Update:

  • ./test_wamr.sh will keep the same experience likes before by default.
  • ./test_wamr.sh -P will enable parallelism mode
  • in parallelism mode, all.py will be in a less-output mode. It only outputs the last words of failed cases and will not output logs for those passed

@wenyongh wenyongh merged commit 487072a into bytecodealliance:main Nov 8, 2021
wenyongh referenced this pull request in wenyongh/wasm-micro-runtime Nov 8, 2021
Speed up the spec case test by parallelism (#819)
vickiegpt pushed a commit to vickiegpt/wamr-aot-gc-checkpoint-restore that referenced this pull request May 27, 2024
Port spec-test-script/all.sh to spec-test-script/all.py and enable to run
spec cases with multiple threads parallelly:
- It reduces spec_test.yml from ~14min to ~9min and reduces
  compilation_on_sgx.yml from ~18min to ~12min
- run `./test_wamr.sh` will keep the same experience likes before by default
- run `./test_wamr.sh -P` will enable parallelism mode
- in parallelism mode, all.py will be in a less-output mode. It only outputs
  the last words of failed cases and will not output logs for those passed
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