-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
性能测试 #26
Comments
几个问题: |
讨论结果: |
测试用例:1、在本地local_sync/test-xx里新增文件和文件夹,新增的目录结构为: 2、初始化本地local_sync/test-xx和U盘udisk_sync/test-xx 3、本地全量push,远程全量pull 4、本地local_sync/test-xx里新增下列文件 5、本地local_sync/test-xx里修改下列文件内容 6、本地local_sync/test-xx里删除下列文件 7、远程remote_sync/test-xx里新增下列文件 8、远程remote_sync/test-xx里修改下列文件内容 9、远程remote_sync/test-xx里删除下列文件 10、本地增量push、远程增量pull |
性能测试方案
自变量
文件数、文件类型
文件数量的递增顺序
需要检测的性能指标
需要进行性能测试的地方
具体执行方案
注意事项
目前需要先做的事情
学会使用:
使用Unix系统中的time命令
使用cProfile模块
使用memory_profiler模块
使用line_profiler模块
gprof2dot
vprof
参考资料
http://www.ctolib.com/topics-106241.html
http://python.jobbole.com/80754/
运行时间测试(cProfile模块)
http://www.cnblogs.com/btchenguang/archive/2012/02/03/2337112.html
The text was updated successfully, but these errors were encountered: