Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [JS][Karma] Testy są zbyt wolne.
7furik7
post 8.10.2014, 14:24:30
Post #1





Grupa: Zarejestrowani
Postów: 61
Pomógł: 1
Dołączył: 23.06.2012

Ostrzeżenie: (0%)
-----


Witam.

mam problem z testowaniem JS. Używam Karmy i PhantomJS, a problem polega na tym, testy wykonują się 50sek. Te same testy na innym kompie robią się 2sekundy. Róznica jest systemu (Windows - wolny Mac- szybki).
Ma ktoś pomysł jak przyspieszyć testy na Windowsie (4gb ramu) ? i co może być powodem takiego spowolnienia?

Pozdrawiam
Go to the top of the page
+Quote Post
markuz
post 8.10.2014, 14:31:49
Post #2





Grupa: Zarejestrowani
Postów: 1 240
Pomógł: 278
Dołączył: 11.03.2008

Ostrzeżenie: (0%)
-----


Cytat
The solution is simply to keep the karma browser instance available. The window can be hidden behind other windows but the karma tab must be active and the browser must not be minimised. Then the tests will always run quickly (very quickly).


http://stackoverflow.com/questions/1968384...nning-so-slowly

Ten post edytował markuz 8.10.2014, 14:32:06


--------------------
Go to the top of the page
+Quote Post
7furik7
post 9.10.2014, 21:22:55
Post #3





Grupa: Zarejestrowani
Postów: 61
Pomógł: 1
Dołączył: 23.06.2012

Ostrzeżenie: (0%)
-----


ale ja nie korzystam z Chroma tylko PhantomJS
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 16.06.2025 - 19:26