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

Am/chore/fix wasm bench timeout #1517

Merged
merged 2 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/aws_tfhe_wasm_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ jobs:
make test_nodejs_wasm_api_in_docker

- name: Run parallel wasm tests
timeout-minutes: 60
# test timeouts are at 60 but if we want a log we need to give time to the step to log stuff
timeout-minutes: 65
run: |
make test_web_js_api_parallel_ci

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/benchmark_wasm_client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ jobs:
toolchain: nightly

- name: Run benchmarks
# test timeouts are at 60 but if we want a log we need to give time to the step to log stuff
timeout-minutes: 65
run: |
make install_node
make bench_web_js_api_parallel_ci
Expand Down
8 changes: 4 additions & 4 deletions tfhe/web_wasm_parallel_tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"description": "",
"main": "index.js",
"scripts": {
"test": "jest ./test --runInBand --testNamePattern=Test",
"bench": "jest ./test --runInBand --testNamePattern=Bench",
"test": "jest ./test --runInBand --detectOpenHandles --testNamePattern=Test",
"bench": "jest ./test --runInBand --detectOpenHandles --testNamePattern=Bench",
"build": "cp -r ../../tfhe/pkg ./ && webpack build ./index.js --mode production -o dist --output-filename index.js && cp index.html dist/ && cp favicon.ico dist/",
"server": "serve --config ../serve.json dist/",
"test-separate-processes": "jest --listTests | xargs -L 1 jest --runInBand --testNamePattern=Test",
"bench-separate-processes": "jest --listTests | xargs -L 1 jest --runInBand --testNamePattern=Bench",
"test-separate-processes": "jest --listTests | xargs -L 1 jest --runInBand --detectOpenHandles --testNamePattern=Test",
"bench-separate-processes": "jest --listTests | xargs -L 1 jest --runInBand --detectOpenHandles --testNamePattern=Bench",
"test2": "mocha",
"format": "prettier . --write",
"check-format": "prettier . --check"
Expand Down
Loading