Skip to content

Commit 993d1b5

Browse files
Update README.md
1 parent 5707a1c commit 993d1b5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,15 @@ curl -u admin:change_this -X POST http://localhost:8000/api/test-latency \
9494

9595
- You can enter multi-line SQL in the terminal by wrapping it in quotes, or you can pipe in a file with `-d custom_sql="$(cat myquery.sql)"`.
9696

97+
### Important Note when using Custom queries ###
98+
- Custom queries that are slower will always yield fewer completed test cycles in a fixed period. For eg: If your custom query takes, for example, 0.3 seconds and your interval is 1 second, each full cycle is actually ~1.3s, so over a 10 second period you’ll only get about 7-8 cycles.
99+
100+
- For `SELECT 1`, each loop is closer to 1s so you see 10 full cycles.
101+
102+
- This is expected behavior and the code is running safely/correctly.
103+
104+
- Custom queries that are slower will always yield fewer completed test cycles in a fixed period. Hence use Custom queries carefully.
105+
97106
## Databases Supported 🔌 :
98107

99108
### Oracle DB >= 12.2 📌 :

0 commit comments

Comments
 (0)