File: profile.pl

package info (click to toggle)
libxml-hash-lx-perl 0.0603-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 408 kB
  • sloc: perl: 2,603; makefile: 5
file content (15 lines) | stat: -rw-r--r-- 262 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/env perl

use strict;
use lib::abs '../lib';
use XML::Hash::LX;
$ENV{NYTPROF} = 'trace=2:start=no:file='.lib::abs::path('.').'/nytprof.out';

my $xml = do 'xml.pl';
my $hash = xml2hash($xml);

DB::enable_profile();
for (1..100) {
	hash2xml($hash);
}