Front page | perl.perl5.porters |
Postings from January 2008
[perl #50352] Perl 5.10 Storable extremely slow for large trees of data
Thread Next
From:
Clinton A . Pierce
Date:
January 28, 2008 17:04
Subject:
[perl #50352] Perl 5.10 Storable extremely slow for large trees of data
Message ID:
rt-3.6.HEAD-4355-1201548394-455.50352-75-0@perl.org
# New Ticket Created by Clinton A. Pierce
# Please include the string: [perl #50352]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=50352 >
This is a bug report for perl from clintp@gmail.com,
generated with the help of perlbug 1.36 running under perl 5.10.0.
-----------------------------------------------------------------
[Please enter your report here]
To duplicate a large expat-parsed XML structure (with refs of refs of refs),
I'm doing the following:
my $temp = Storable::freeze $originalXml;
my $copyXml = Storable::thaw($temp);
And by "large" I mean about 8MB when dumped with Data::Dumper. Under Perl
5.6
the "freeze" takes fractions of a second. Under Perl 5.10 it takes many
seconds
(between 5-8 seconds).
[Please do not change anything below this line]
-----------------------------------------------------------------
---
Flags:
category=core
severity=high
---
Site configuration information for perl 5.10.0:
Configured by SYSTEM at Thu Jan 10 11:00:30 2008.
Summary of my perl5 (revision 5 version 10 subversion 0) configuration:
Platform:
osname=MSWin32, osvers=5.00, archname=MSWin32-x86-multi-thread
uname=''
config_args='undef'
hint=recommended, useposix=true, d_sigaction=undef
useithreads=define, usemultiplicity=define
useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
use64bitint=undef, use64bitall=undef, uselongdouble=undef
usemymalloc=n, bincompat5005=undef
Compiler:
cc='cl', ccflags ='-nologo -GF -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
-DPRIVLIB_LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS
-DUSE_PERLIO -DPERL_MSVCRT_READFIX',
optimize='-MD -Zi -DNDEBUG -O1',
cppflags='-DWIN32'
ccversion='12.00.8804', gccversion='', gccosandvers=''
intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234
d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10
ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64',
lseeksize=8
alignbytes=8, prototype=define
Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf
-libpath:"C:\Perl\lib\CORE" -machine:x86'
libpth=\lib
libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib
comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib
uuid.lib ws2_32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib
msvcrt.lib
libc=msvcrt.lib, so=dll, useshrplib=true, libperl=perl510.lib
gnulibc_version=''
Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug
-opt:ref,icf -libpath:"C:\Perl\lib\CORE" -machine:x86'
Locally applied patches:
ACTIVEPERL_LOCAL_PATCHES_ENTRY
32809 Load 'loadable object' with non-default file extension
32728 64-bit fix for Time::Local
---
@INC for perl 5.10.0:
c:/perl/site/lib
c:/perl/lib
.
---
Environment for perl 5.10.0:
HOME (unset)
LANG (unset)
LANGUAGE (unset)
LD_LIBRARY_PATH (unset)
LOGDIR (unset)
PATH=C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\IDE;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\BIN;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools;C:\Program Files (x86)\Microsoft Visual Studio
8\Common7\Tools\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\VC\PlatformSDK\bin;C:\Program Files (x86)\Microsoft Visual Studio
8\SDK\v2.0\bin;C:\Windows\Microsoft.NET\Framework\v2.0.50727;C:\Program
Files (x86)\Microsoft Visual Studio
8\VC\VCPackages;c:\cygwin\bin;c:\Users\cpierce\Documents\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;c:\perl\bin;c:\cygwin\bin;c:\program
files (x86)\vim\vim70;C:\Program Files (x86)\MySQL\MySQL Server
5.0\bin;g:\util;g:\tlib;C:\Program
Files (x86)\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft
SQL Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files (x86)\Microsoft SQL
Server\90\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL
Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft
Visual Studio 8\Common7\IDE\PrivateAssemblies\;c:\Program Files\Microsoft
SQL Server\90\DTS\Binn\;C:\Program Files (x86)\Sandcastle\ProductionTools\
PERL_BADLANG (unset)
SHELL (unset)
Thread Next
-
[perl #50352] Perl 5.10 Storable extremely slow for large trees of data
by Clinton A . Pierce