File tree Expand file tree Collapse file tree 5 files changed +108
-6579
lines changed
PerfTest/runtimes/python/DynamoDbEncryption Expand file tree Collapse file tree 5 files changed +108
-6579
lines changed Original file line number Diff line number Diff line change @@ -75,9 +75,6 @@ python run_benchmarks.py --no-save
75
75
76
76
# Save to custom directory
77
77
python run_benchmarks.py --output-dir my_results
78
-
79
- # Pass additional pytest arguments
80
- python run_benchmarks.py --pytest-args " --benchmark-rounds=10"
81
78
```
82
79
83
80
### Direct pytest Usage
@@ -86,10 +83,10 @@ python run_benchmarks.py --pytest-args "--benchmark-rounds=10"
86
83
poetry run pytest src/ --benchmark-only -v
87
84
88
85
# Run specific test file
89
- poetry run pytest src/v3/aes_key_provider_test.py --benchmark-only -v
86
+ poetry run pytest ' src/v3/aes_key_provider_test.py' --benchmark-only -v
90
87
91
88
# Run single test function
92
- poetry run pytest src/v4/raw_aes_keyring_test.py::test_encrypt_performance[single_attribute] --benchmark-only -v
89
+ poetry run pytest ' src/v4/raw_aes_keyring_test.py::test_encrypt_performance[single_attribute]' --benchmark-only -v
93
90
```
94
91
95
92
## Output
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ python_classes = Test*
5
5
python_functions = test_*
6
6
addopts =
7
7
-v
8
+ -s
8
9
--strict-markers
9
10
--tb =short
10
11
--benchmark-only
You can’t perform that action at this time.
0 commit comments