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

DoctorJ
DoctorJ

11 May 15

nose-sfd
nose-sfd

14 Apr 15

multi-mechanize
multi-mechanize

15 Apr 15

nose-progressive
nose-progressive

14 Apr 15

Altri software di sviluppo Disqus

Zumanji
Zumanji

20 Feb 15

Overseer
Overseer

11 May 15

Commenti a nose-performance

I commenti non trovato
Aggiungi commento
Accendere le immagini!