Skip to content

Commit 7cfff25

Browse files
SNOW-1572311:add stress test (#2097)
1 parent ffb507b commit 7cfff25

File tree

5 files changed

+507
-0
lines changed

5 files changed

+507
-0
lines changed

test/stress/aio/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
## quick start for performance testing
2+
3+
4+
### setup
5+
6+
note: you need to put your own credentials into parameters.py
7+
8+
```bash
9+
git clone [email protected]:snowflakedb/snowflake-connector-python.git
10+
cd snowflake-connector-python/test/stress
11+
pip install -r dev_requirements.txt
12+
touch parameters.py # set your own connection parameters
13+
```
14+
15+
### run e2e perf test
16+
17+
This test will run query against snowflake. update the script to prepare the data and run the test.
18+
19+
```python
20+
python e2e_iterator.py
21+
```

test/stress/aio/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#
2+
# Copyright (c) 2012-2023 Snowflake Computing Inc. All rights reserved.
3+
#

test/stress/aio/dev_requirements.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
psutil
2+
../..
3+
matplotlib
4+
aiohttp
5+
pandas
6+
asyncio

0 commit comments

Comments
 (0)