-
Notifications
You must be signed in to change notification settings - Fork 26
Open
Description
Hi!
I'm trying to parse a 52 MByte XML file and the performance is really bad.
I'm trying to follow the instructions and just doing:
my $XML = 'ec_inventory_en.xml';
sub MAIN(){
my $xml = from-xml-file($XML);
}
This code will use more than 5Gbytes of memory [1], only one core is used [2] and it takes more than 3m30s (in comparison a perl version takes around 15 seconds to parse the file)
[1] - Reported by cat /proc/$PID/smaps | grep -i pss | awk '{Total+=$2} END {print Total/1024" MB"}'
[2] -
Metadata
Metadata
Assignees
Labels
No labels
