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

benchmark Perl skripte

[es] :: Perl :: benchmark Perl skripte

[ Pregleda: 5128 | Odgovora: 3 ] > FB > Twit

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 - pre 263 meseci
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...
 
Odgovor na temu

mire
Miroslav Madzarevic
Belgrade

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



Profil

icon Re: benchmark Perl skripte29.09.2002. u 20:42 - pre 262 meseci
Devel::DProf
mire@zwer:~$ traceroute zivot.sloboda.potraga-za-srecom
 
Odgovor na temu

B o j a n
eCTRL
EU

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

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


+1 Profil

icon Re: benchmark Perl skripte29.09.2002. u 20:55 - pre 262 meseci
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
 
Odgovor na temu

mire
Miroslav Madzarevic
Belgrade

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



Profil

icon Re: benchmark Perl skripte30.09.2002. u 13:18 - pre 262 meseci
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
 
Odgovor na temu

[es] :: Perl :: benchmark Perl skripte

[ Pregleda: 5128 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

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