[plt-scheme] Require pconvert.ss is extremely slow

From: Dmitriy.Zavin at infineon.com (Dmitriy.Zavin at infineon.com)
Date: Wed Dec 1 17:28:55 EST 2004

Here it is. What is weird is that I have .zo's for all of those files,
yet they still load as .ss.

Etc.ss and class-sneaky.ss take forever.

Any suggestions?


This is on the ppc405.

# time ./mzscheme -mvL pconvert.ss mzlib
real    0m 15.06s
user    0m 13.00s
sys     0m 0.00s

# ./mzscheme
Welcome to MzScheme version 208, Copyright (c) 2004 PLT Scheme, Inc.
> (require (lib "traceld.ss"))
> (require (lib "pconvert.ss"))
loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/pconvert.ss at 270
 loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/string.ss at 420
  loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/etc.ss at 560
   loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/spidey.ss at 710
   done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/spidey.ss at 820
   loading /mnt/ifx_nfs/usr/lib/plt/collects/setup/plthome.ss at 830
   done /mnt/ifx_nfs/usr/lib/plt/collects/setup/plthome.ss at 890
   loading /mnt/ifx_nfs/usr/lib/plt/collects/syntax/kerncase.ss at 900
   done /mnt/ifx_nfs/usr/lib/plt/collects/syntax/kerncase.ss at 1020
   loading /mnt/ifx_nfs/usr/lib/plt/collects/syntax/stx.ss at 1030
   done /mnt/ifx_nfs/usr/lib/plt/collects/syntax/stx.ss at 1070
   loading /mnt/ifx_nfs/usr/lib/plt/collects/syntax/name.ss at 1090
   done /mnt/ifx_nfs/usr/lib/plt/collects/syntax/name.ss at 1180
   loading /mnt/ifx_nfs/usr/lib/plt/collects/syntax/context.ss at 1200
   done /mnt/ifx_nfs/usr/lib/plt/collects/syntax/context.ss at 1230
   loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/stxset.ss at
   done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/stxset.ss at
  done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/etc.ss at 2600
 done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/string.ss at 2820
 loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/list.ss at 2850
 done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/list.ss at 3080
 loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/class.ss at 3080
/mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/class-sneaky.ss at 310
   loading /mnt/ifx_nfs/usr/lib/plt/collects/syntax/define.ss at 3740
   done /mnt/ifx_nfs/usr/lib/plt/collects/syntax/define.ss at 3970
   loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/classidmap.ss
at 3990
   done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/classidmap.ss at
  done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/class-sneaky.ss
at 11090
 done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/class.ss at 11150
 loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/unit.ss at 11180
  loading /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/unitidmap.ss
at 11310
  done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/private/unitidmap.ss at
 done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/unit.ss at 13100
done /mnt/ifx_nfs/usr/lib/plt/collects/mzlib/pconvert.ss at 13310

 >-----Original Message-----
 >From: Matthew Flatt [mailto:mflatt at cs.utah.edu] 
 >Sent: Wednesday, December 01, 2004 1:34 PM
 >To: Zavin Dmitriy (IFNA COM)
 >Cc: plt-scheme at web-ext.cs.brown.edu
 >Subject: RE: [plt-scheme] Require pconvert.ss is extremely slow
 >At Wed, 1 Dec 2004 13:27:44 -0800, Dmitriy.Zavin at infineon.com wrote:
 >> Yes, I have also compiled to the .zo files as well. There was
 >> practically no difference in.
 >Try requiring "traceld.ss" before "pconvert.ss", and you shold get
 >printouts that help pin down which file is slow. (It will also report
 >whether you're loading ".ss" or ".zo".) Let us know what you see.

Posted on the users mailing list.