Skip to content

Commit

Permalink
data
Browse files Browse the repository at this point in the history
  • Loading branch information
deipss committed Apr 22, 2024
1 parent 43f0fd5 commit 755c0a6
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 5 deletions.
15 changes: 15 additions & 0 deletions docs/Python/常用语句.md
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,20 @@ zhaoliu
1_2_3_5_4
```


### 切片

`序列[起始下标:结束小标:步长]`
```python
num_list = [1, 2, 3, 4, 5]
new_list2 = num_list[1:4]
new_list = num_list[:4:2]
new_list = num_list[:]
new_list = num_list[3:1:-1]

```


## tuple

因为元组中的元素是不能修改的,修改会报错。
5 changes: 4 additions & 1 deletion docs/test/准入准出标准.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: 限售限量
title: 准入准出标准
parent: Test
---

Expand Down Expand Up @@ -52,3 +52,6 @@ UI交互
- 缓存的过期策略
- 线上巡检

# 版本结束
- UI自动化,覆盖率
- 接口自动化,覆盖率
8 changes: 4 additions & 4 deletions docs/test/压测场景.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
layout: default
title: Jmeter理论
title: 压测场景
parent: Test
---

Expand All @@ -9,9 +9,9 @@ parent: Test

# QPS先上升,后下降,缓慢上升后,缓慢下降,趋于稳定,但成功率很低

1 业务系统的DUBBO线程池,提示EXHAUSTED错误,线程池满,拒绝新的请求,会出现下降,
2 下降后,部分线程业务完成,可以接受新的请求,又缓存上升
3 成功率下降,是因为拒绝请求,返回是异常,不是成功的报文
- 1 业务系统的DUBBO线程池,提示EXHAUSTED错误,线程池满,拒绝新的请求,会出现下降,
- 2 下降后,部分线程业务完成,可以接受新的请求,又缓存上升
- 3 成功率下降,是因为拒绝请求,返回是异常,不是成功的报文


#

0 comments on commit 755c0a6

Please sign in to comment.