nose-performance

软件截图:
nose-performance
软件详细信息:
版本: 0.4.1
上传日期: 20 Feb 15
开发: Disqus
许可: 免费
人气: 3

Rating: nan/5 (Total Votes: 0)

鼻性能是一个性能测试插件鼻和NBSP;它的主要目标是监视呼叫到网络应用,诸如数据库和内存缓存。
与Zumanji整合报告和归档结果。
用法
创建一些测试从PerformanceTest继承:
从noseperf.testcases进口PerformanceTest
类MyTest的(PerformanceTest):
 高清test_redis(个体经营):
 客户端= Redis的()
 对于x中的xrange(2 ** 16):
  client.add('测试 - %×'%的x,'1')
运行测试套件与--with性能选项:
 蟒蛇runtests.py --with性能的例子/
(我们使用runtests.py因为我们注入Django的鼻子来测试我们的Django的钩)
结果被记录到test_results /默认performance.json:
  LS -lh test_results
共有2128
-rw-R - R-- 1 dcramer人员1.0M 8月27日18:10 performance.json
见例如,在包括测试/和nosetests --help | grep的性能了解更多信息。
测试用例
该插件只会收集从PerformanceTest测试继承。包括两种简单的试验的情况下,一个用于通用的安装,一个用于Django的:
- noseperf.testcases.PerformanceTest
- noseperf.testcases.DjangoPerformanceTest
捕获的数据
目前捕捉所述数据包括钩子以下内容:
- Redis的
- Django的ORM
- Django的缓存

要求

  • 在Python中
  • 在鼻子

类似的软件

pyfix
pyfix

20 Feb 15

HOL
HOL

20 Feb 15

Sipbomber
Sipbomber

3 Jun 15

AutobahnTestSuite
AutobahnTestSuite

20 Feb 15

显影剂的其他软件 Disqus

postfix-stats
postfix-stats

14 Apr 15

gargoyle
gargoyle

20 Feb 15

django-db-utils
django-db-utils

11 May 15

意见 nose-performance

评论没有发现
添加评论
打开图片!