performance problem with tcldom2.5 under unix



Hi All

I'm having problem when running the following code under Solaris

source $env(CONTRIBROOTDIR)/LIB/TCLLIB1.3/uri.tcl
package require dom

set f [open "file.xml" r]
set XML [read $f]
set doc [dom::parse $XML]
close $f

The file.xml has 10 MB.

Under windows xp the code works fine (abot 2 seconds). I run this
under the windows without line
source $env(CONTRIBROOTDIR)/LIB/TCLLIB1.3/uri.tcl

but under Solaris the line
set doc [dom::parse $XML]
takes 10 minutes to finish.

Where should I look for the reason of it?

Regards
Lukasz K.

.



Relevant Pages

  • Re: FTC Complaint filed
    ... I am playing around with Solaris and zones, and attempting to run the DOS/Win3.1,'95/98/98SE apps, each in it's own zone if needed, using WINE. ... There's nothing wrong with COBOL but there are a lot of alternatives better suited for quick-and-dirty programming on the PC. ... I have long said, in my opinion and pre-Vista, that Windows 95 was the best OS Microsoft ever made. ...
    (microsoft.public.windowsmedia.player)
  • Re: OT: Comparison of Unix systems and window managers
    ... Interesting that the system board date is unset in the Ultra-60: ... The machine was also plenty fast enough to run Solaris 10 ... used from Windows 95 until Windows 2000 Professional. ... use reliable pre-compiled packages if I can, ...
    (rec.crafts.metalworking)
  • Re: How can I see long file names on Windows CD under Solaris ?
    ... If I then mount that with lofiadm, or write it to a CD, only short files names are seen in Solaris. ... If I stick the CD in a Windows PC, so the full length file names are seen. ... I'm not sure if the 31 characters permitted by -l will be sufficient. ...
    (comp.unix.solaris)
  • Re: Ethernet statistics
    ... > on Windows? ... Solaris - what else but kstat ... maintain them - on Linux too. ... >>acceptable from an enterprise perspective. ...
    (comp.os.linux.networking)
  • Re: Apple dries up in the Sun
    ... I prefer Linux to Solaris, for most UNIX-only task sets, and OS ... Without any support for Windows. ... Windows out of any company, ...
    (comp.sys.mac.advocacy)