|
[XQuery Talk Mailing List Archive Home] [By Date] [By Thread] [By Subject] [By Author] [Recent Entries] [Reply To This Message] xquery with large xml fileMichael Kay mhk at mhk.me.ukWed Apr 19 17:22:09 PDT 2006
> [Per Bothner] tried this:
>
> declare function local:pathOfNode($node) {
> if(empty($node/..)) then "" else
> concat(local:pathOfNode($node/..), "/",
> local-name($node)) }; let $j:= doc("file:/tmp/standard") for
> $n in $j//* return
> local:pathOfNode($n)
>
> on the 100MB "standard" XMark test file, and then did:
>
> $ java kawa.repl --main -C /tmp/path.xq
> $ (date; java -Xmx600m path ; date)>&/tmp/log
>
> That triggered a bug. After fixing that bug, it seems to
> have made it through, taking 8 minutes 24 seconds to generate
> a 75MB file.
I finally got around to running this against the 100Mb data file with Saxon.
It produces the same size output (don't know why the expansion factor should
be different on the 10Mb file) in 5 minutes 45 seconds.
Michael Kay
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|

Cart








