🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.perl
Article #640

Execution time in Perl

#640
From: cjz
Date: Wed, 29 Oct 1997 17:23
12 lines
1216 bytes
Hello,
I am trying to find a way to time the execution of a script.  At this
time I have implemented something very simple that grabs the "time" in
seconds at the start of the scripts and grabs it again at the end,
compares them and prints out the time in seconds.

I am looking for a way to measure the execution time more accurately,
say in 10ths, 100ths, 1000ths etc. of a second.  Please help.

Thanks,

-Eddy
Technical Details
Message-ID: <3457712D.D21178F7@interramp.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!news.icm.edu.pl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.0.65.142!news-feed1.tiac.net!news-master.tiac.net!news@tiac.net

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!pingwin.icm.edu.pl!agh.edu.pl!ict.pwr.wroc.pl!news.icm.edu.pl!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news-peer.sprintlink.net!news-pull.sprintlink.net!news-in-east.sprintlink.net!news.sprintlink.net!Sprint!199.0.65.142!news-feed1.tiac.net!news-master.tiac.net!news@tiac.net
From: cjz <us011769@interramp.com>
Newsgroups: comp.lang.perl.misc,pl.comp.lang.perl,comp.lang.perl
Subject: Execution time in Perl
Date: Wed, 29 Oct 1997 12:23:58 -0500
Organization: The Internet Access Company, Inc.
Lines: 13
Message-ID: <3457712D.D21178F7@interramp.com>
NNTP-Posting-Host: tricky.tiac.net
Mime-Version: 1.0
X-Mailer: Mozilla 4.01 [en] (Win95; I)
X-Priority: 3 (Normal)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit