# ********** MementoDemo.pl **********
use strict;
use Caretaker;
use Time::HR;

my $t1 = gethrtime();
my $i;
for ($i=0; $i<1000; $i++) {
  my $care = Caretaker->new();
}
my $t2 = gethrtime();
print (int(($t2-$t1)/1000000))." ";
