Skip to content

Commit 34c200c

Browse files
committed
iterations count, prod cd
1 parent 053e226 commit 34c200c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/pull_request.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,13 @@ jobs:
3838
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
3939
performance-tests:
4040
uses: ./.github/workflows/performance_tests.yml
41-
# needs: build-template
41+
needs: build-template
4242
secrets:
4343
E2B_API_KEY: ${{ secrets.E2B_API_KEY }}
4444
with:
4545
E2B_DOMAIN: ${{ vars.E2B_DOMAIN }}
46-
# E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
47-
E2B_TESTS_TEMPLATE: "code-interpreter-v1"
46+
E2B_TESTS_TEMPLATE: ${{ needs.build-template.outputs.template_id }}
47+
E2B_TESTS_BENCHMARK_ITERATIONS_COUNT: 20
4848
cleanup-build-template:
4949
uses: ./.github/workflows/cleanup_build_template.yml
5050
needs: [build-template, js-sdk, python-sdk, performance-tests]

python/tests/performance.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import statistics
55
import matplotlib.pyplot as plt
66

7-
iterations_count = int(os.getenv("E2B_TESTS_PERF_ITERATIONS_COUNT", 20))
7+
iterations_count = int(os.getenv("E2B_TESTS_BENCHMARK_ITERATIONS_COUNT", 20))
88
template = os.getenv("E2B_TESTS_TEMPLATE", "code-interpreter-v1")
99

1010
# Lists to store metrics for each iteration

0 commit comments

Comments
 (0)