Search notes:

Perl module Time::HiRes

use warnings;
use strict;

# Note, that time is also a perl function
use Time::HiRes qw(time);

my $start = time;
print "foo\n";
print "bar\n";
print "baz\n";
my $end   = time;

print $end-$start, " seconds to print 3 times\n";

"burn cpu for a second" while $end > time - 1;

printf "%f second later\n", time - $end;
Github repository PerlModules, path: /Time/HiRes/script.pl
Perl modules.

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1741107401, '18.224.61.190', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/languages/Perl/modules/Time/HiRes/index(52): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78