--- trunk/views/00.demo.pl 2009/09/22 13:46:41 18 +++ trunk/views/00.demo.pl 2009/09/23 18:44:08 30 @@ -1,11 +1,20 @@ -$out->{ 'fields +' }->{$_}++ foreach keys %$rec; +#$out->{ 'fields +' }->{$_}++ foreach keys %$rec; -#$out->{years}->{ $rec->{PY}->[0] }++; +#$out->{ 'years +' }->{ $rec->{PY}->[0] }++; -#$out->{DT}->{ $_ }++ foreach @{ $rec->{DT} }; +#$out->{ 'DT +' }->{ $_ }++ foreach @{ $rec->{DT} }; -#$out->{SC}->{ $_ }++ foreach @{ $rec->{SC} }; +#$out->{'SC +'}->{ $_ }++ foreach @{ $rec->{SC} }; + +# FIXME out of memory without md5 +#$out->{'C1 +'}->{ $_ }++ foreach @{ $rec->{C1} }; +#$out->{'C1 +'}->{ digest($_) }++ foreach @{ $rec->{C1} }; +$out->{'CR +'}->{ digest($_) }++ foreach @{ $rec->{CR} }; + +my $cr = 1; +my $nr = $out->{_debug}->{nr}++; +#$out->{'CR +'}->{ "$nr." . $cr++ }++ foreach @{ $rec->{CR} }; # XXX dump first record #$out->{_debug_rec} ||= $rec; @@ -13,3 +22,7 @@ #push @{ $out->{TI} }, $rec->{TI}; #push @{ $out->{_debug}->{id} }, $rec->{'000'}; + +$out->{'_debug'}->{records}++; +$out->{'_debug'}->{start_t} ||= time; +$out->{'_debug'}->{duration} = time - $out->{'_debug'}->{start_t};