Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Quality Assurance and Testing

    nose-performance 0.4.1

    Download button

    No screenshots available
    Downloads: 90  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    DISQUS | More programs
    The Apache License 2.0 / FREE
    September 20th, 2012, 14:51 GMT
    ROOT / Programming / Quality Assurance and Testing

     Read user reviews (0)  Refer to a friend  Subscribe

    nose-performance description

    A plugin for Nose for running performance tests

    nose-performance is a performance testing plugin for Nose. It's primary goal is to monitor calls to network applications, such as the database and memcache.

    Integrates with Zumanji to report and archive results.

    Usage

    Create some tests which inherit from PerformanceTest:

    from noseperf.testcases import PerformanceTest

    class MyTest(PerformanceTest):
     def test_redis(self):
     client = Redis()
     for x in xrange(2 ** 16):
     client.add('test-%x' % x, '1')


    Run your test suite with the --with-performance option:

     python runtests.py --with-performance example/

    (We're using runtests.py because we inject django-nose to test our Django hooks)

    Results are recorded to test_results/performance.json by default:

     ls -lh test_results
    total 2128
    -rw-r--r-- 1 dcramer staff 1.0M Aug 27 18:10 performance.json


    See the included tests in example/ and nosetests --help | grep performance for more information.

    Test Cases

    The plugin will only collect tests which inherit from PerformanceTest. Included are two simple test cases, one for generic installs, and one for Django:

    - noseperf.testcases.PerformanceTest
    - noseperf.testcases.DjangoPerformanceTest

    Captured Data

    Currently the data captured includes hooks for the following:

    - Redis
    - Django ORM
    - Django Cache


    Product's homepage

    Requirements:

    · Python
    · nose

      


    TAGS:

    Nose plugin | performance tests | Nose | plugin | performance

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM