Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

benchmark Perl skripte

[es] :: Perl :: benchmark Perl skripte

[ Pregleda: 2153 | Odgovora: 3 ]

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

lenny
Lendak Imre
saradnik, FTN, Novi Sad
NS

Član broj: 3147
Poruke: 68
217.26.72.*

ICQ: 158238713


Profil

icon benchmark Perl skripte21.08.2002. u 21:19
Kako se ispituje brzina Perl skripti. Interesuje me zauzetost procesora i vreme izvrsavanja.
Skripta radi sa obicnim tekstualnim konfiguracionim fajlom, pod Red Hat 7.3, Perl 5.6.1 (valjda).
No signature...
21.08.2002. u 21:19 

mire
Miroslav Madzarevic
Belgrade

Član broj: 252
Poruke: 144
*.beg.sezampro.yu



Profil

icon Re: benchmark Perl skripte29.09.2002. u 20:42
Devel::DProf
mire@zwer:~$ traceroute zivot.sloboda.potraga-za-srecom
29.09.2002. u 20:42 

B o j a n
EU

Član broj: 1178
Poruke: 2925
*.net.yu

Jabber: bc@default.co.yu
Sajt: default.co.yu/~bc


Profil

icon Re: benchmark Perl skripte29.09.2002. u 20:55
Najprimitivniji timer je time(1).
Upotreba:
Code:

$ time [i]command[/i]

Ovim mozes videti samo vreme, ne i zauzetost procesora/resursa.

"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
29.09.2002. u 20:55 

mire
Miroslav Madzarevic
Belgrade

Član broj: 252
Poruke: 144
*.beg.sezampro.yu



Profil

icon Re: benchmark Perl skripte30.09.2002. u 13:18
iz perlfunc-a:

times Returns a four-element list giving the user and system times, in seconds, for this process and the children of this process.

($user,$system,$cuser,$csystem) = times;
mire@zwer:~$ traceroute zivot.sloboda.potraga-za-srecom
30.09.2002. u 13:18 

[es] :: Perl :: benchmark Perl skripte

[ Pregleda: 2153 | Odgovora: 3 ]

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.