nose-performance

Software screenshot:
nose-performance
Dettagli del software:
Versione: 0.4.1
Data di caricamento: 20 Feb 15
Sviluppatore: Disqus
Licenza: Libero
Popolarità: 3

Rating: nan/5 (Total Votes: 0)

naso-prestazioni è un plugin test delle prestazioni di Naso & nbsp;. E 'obiettivo primario è quello di monitorare le chiamate alle applicazioni di rete, come il database e memcache.
Si integra con Zumanji di riferire e risultati di archivio.
Utilizzo
Create alcuni test che ereditano da PerformanceTest:
da noseperf.testcases import PerformanceTest
Classe MyTest (PerformanceTest):
& Nbsp; def test_redis (self):
& Nbsp; client = Redis ()
& Nbsp; per x in xrange (2 ** 16):
& Nbsp; client.add ('test-% x'% x, '1')
Eseguire il test suite con l'opzione --with-prestazioni:
& Nbsp; esempio python runtests.py --with-prestazioni /
(Stiamo utilizzando runtests.py perché iniettiamo django-naso per testare i nostri ganci Django)
I risultati vengono registrati test_results / performance.json di default:
& Nbsp; ls -lh test_results
totale 2128
-rw-r - r-- 1.0M 1 staff dcramer 27 Agosto 18:10 performance.json
Vedi i test inclusi in esempio / e nosetests --help | grep prestazioni per ulteriori informazioni.
Casi test
Il plugin solo raccogliere le prove che ereditano da PerformanceTest. Incluso sono due casi di test semplici, una per installazioni generiche, e uno per Django:
- Noseperf.testcases.PerformanceTest
- Noseperf.testcases.DjangoPerformanceTest
dati acquisiti
Al momento i dati acquisiti comprende ganci per i seguenti:
- Redis
- Django ORM
- Django Cache

Requisiti :

  • Python
  • naso

Programmi simili

Peon
Peon

20 Feb 15

Bisect
Bisect

20 Feb 15

Apache AntUnit
Apache AntUnit

11 May 15

Sahi
Sahi

14 Apr 15

Altri software di sviluppo Disqus

django-db-utils
django-db-utils

11 May 15

postfix-stats
postfix-stats

14 Apr 15

django-perftools
django-perftools

20 Feb 15

django-bitfield
django-bitfield

14 Apr 15

Commenti a nose-performance

I commenti non trovato
Aggiungi commento
Accendere le immagini!