会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
忧伤恋上了快乐
我们这一生很短,我们终将会失去它,所以不妨大胆一点, 爱一个人,攀一座山,追一次梦,不妨大胆一点,有很多事没有答案。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
6
7
8
9
10
11
12
下一页
2021年3月31日
jmeter-阶梯式压测
摘要: 标签:插件 压测 阶梯式 seconds 线程 threads jmeter 性能测试中,有时需要模拟一种实际生产中经常出现的情况,即:从某个值开始不断增加压力,直至达到某个值,或者使用快增长或者慢增长模式增加并发,然后持续运行一段时间。一般持续运行的时间是10-20分钟。 在jmeter中,有这样
阅读全文
posted @ 2021-03-31 18:45 忧伤恋上了快乐
阅读(155)
评论(0)
推荐(0)
2021年3月17日
JMeter ServerAgent服务器资源监控插件
摘要: 本文介绍对Linux服务器的服务进行压测时,使用jmeter serverAgent插件监控服务器资源。 1.插件准备 所需插件: JMeterPlugins-Extras.jar JMeterPlugins-Standard.jar ServerAgent-2.2.1 插件下载地址:https:/
阅读全文
posted @ 2021-03-17 15:39 忧伤恋上了快乐
阅读(242)
评论(0)
推荐(0)
2021年3月15日
Fastjson 从JSON字符串中取值 操作示例
摘要: 转载自 https://my.oschina.net/u/3421709/blog/1542196 package jsonDemo; import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import co
阅读全文
posted @ 2021-03-15 13:23 忧伤恋上了快乐
阅读(1656)
评论(0)
推荐(0)
2021年2月23日
使用jmap和MAT定位内存泄漏OOM
摘要: 一 使用jmap查看内存对象实例个数和内存 jmap -histo:live [pid] > xxx.log [admin@arch036088.sqa.cm4 ~]$ jps 18270 CandidateTaskCoreLoader 18336 CandidateTaskCoreLoader 2
阅读全文
posted @ 2021-02-23 13:07 忧伤恋上了快乐
阅读(374)
评论(0)
推荐(0)
2021年2月1日
python 打包exe文件并隐藏执行CMD命令窗口
摘要: 虚拟环境安装 pyinstaller pip install pyinstaller 打包exe命令:(具体的命令网上资料很多) # 打包1个py文件,并隐藏执行窗口 pyinstaller -F -w main.py # 打包1个py文件(-F),并隐藏执行窗口(-w),替换exe的ico图标(-
阅读全文
posted @ 2021-02-01 17:26 忧伤恋上了快乐
阅读(2089)
评论(0)
推荐(0)
2020年11月5日
Python时间差中seconds和total_seconds的区别 datetime模块
摘要: import datetime t1 = datetime.datetime.strptime("2017-9-06 10:30:00", "%Y-%m-%d %H:%M:%S")t2 = datetime.datetime.strptime("2017-9-06 12:30:00", "%Y-%m
阅读全文
posted @ 2020-11-05 09:56 忧伤恋上了快乐
阅读(1114)
评论(0)
推荐(0)
python之time和datetime的常用方法
摘要: 一、time的常用方法: import time,datetime# 时间有三种展现方式:时间戳,时间元组,格式化的时间print(time.time())#当前时间戳print(int(time.time()))print(time.strftime('%Y-%m-%d %H:%M:%S'))#格
阅读全文
posted @ 2020-11-05 09:19 忧伤恋上了快乐
阅读(257)
评论(0)
推荐(0)
2020年9月21日
python pylint提示信息内容
摘要: =此页面列出了PyLint 1.1.0支持的所有消息,按消息文本排序。 还有一个按消息代码排序的所有代码列表。 E0001,F0001,W0511 (消息不同) E0103:循环中%r不正确 W1501:“ %s ”不是打开的有效模式。 E1101:%s %r没有%r成员 E1103:%s %r没有
阅读全文
posted @ 2020-09-21 14:03 忧伤恋上了快乐
阅读(702)
评论(0)
推荐(0)
2020年7月17日
通过修改beautifulreport文件,修改测试类、测试方法、用例描述
摘要: 通过修改
阅读全文
posted @ 2020-07-17 09:56 忧伤恋上了快乐
阅读(813)
评论(0)
推荐(0)
2020年7月10日
python 使用第三方库tomorrow实现并发
摘要: tomorrow是我最近在用的一个爬虫利器,该模块属于第三方的模块,使用起来非常的方便,只需要用其中的threads方法作为装饰器去修饰一个普通的函数,既可以达到并发的效果,本篇将用实例来展示tomorrow的强大之处。后面文章将对tomorrow的实现原理做进一步的分析。 1.安装第三方包 pip
阅读全文
posted @ 2020-07-10 15:23 忧伤恋上了快乐
阅读(643)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
下一页
公告