Novo

Forum kao aplikacija na telefonu

Dodajte forum na početni ekran i koristite ga kao aplikaciju, sa menijem na dnu ekrana.

  • 3 odgovora
  • 6.110 pregleda

Najnovija ↓

benchmark Perl skripte 21.08.2002. u 22:19 · pre 294 meseca #1
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).
Potpis
No signature...
Re: benchmark Perl skripte 29.09.2002. u 21:42 · pre 293 meseca #2
Devel::DProf
Potpis
mire@zwer:~$ traceroute zivot.sloboda.potraga-za-srecom
Re: benchmark Perl skripte 29.09.2002. u 21:55 · pre 293 meseca #3
Najprimitivniji timer je time(1).
Upotreba:
Code:

$ time [i]command[/i]

Ovim mozes videti samo vreme, ne i zauzetost procesora/resursa.
Potpis
"It's okay, I'm just admiring to the shape of your skull!" -- Dr. Gonzo
Re: benchmark Perl skripte 30.09.2002. u 14:18 · pre 293 meseca #4
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;
Potpis
mire@zwer:~$ traceroute zivot.sloboda.potraga-za-srecom
Prijavite se da biste odgovorili u ovoj temi.PrijavaRegistracija

Premeštanje teme