← Prev in month
← Prev in thread
Next in thread →
Next in month →
Re: [ubl-lcsc] Processing Efficiency Test WAS Re: Position Paperon List Containers
Greetings
I've just tried a quick test.
I used instant saxon to run a very simple transformation with two draft 8 invoice instances both with 1000 lines -
test.xml being the no-containers version and test1.xml being exactly the same but with InvoiceLineList as a container of the invoice lines (no time spent ensuring this was valid as I took saxon to be schema-agnostic). My stylesheet was just extracting the buyer party name into a simple piece of HTML.
The output below does show a 50% reduction in processing time with the single list container for the invoice lines.
I only ran it a few times because there was no doubt about the figures.
I've attached the stylesheet and both xml instances.
Now of course it still leaves the matter of how much importance should be placed on processing speed in comparison to other considerations when processing speeds are constantly improving. My main concern remains the possibility that remains in my mind of reduced reusability with the containers - but I for one don't need further convincing of the rather surprising improvement in performance exactly as Arofan stated.
All the best
Stephen Green
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 157 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml
Bilding tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 407 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 547 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test1.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 157 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 79 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 219 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 156 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 359 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 500 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 157 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 359 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 485 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparatin time: 1859 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 359 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 500 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 156 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 359 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 484 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test1.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 157 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 94 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 203 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test1.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 156 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 94 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 203 milliseconds
C:\UBL-Schema-0.81-draft-8-Cassic>saxon -t test1.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 156 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 78 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 219 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>saxon -t test1.xml test.xsl
SAXON 6.5.2 from Michael Kay
Java version 1.1.4
Preparation time: 156 milliseconds
Processing file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml
Building tree for file:/C:/UBL-Schema-0.81-draft-8-Classic/test1.xml using class
com.icl.saxon.tinytree.TinyBuilder
Tree built in 78 milliseconds
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body></body>
</html>Execution time: 218 milliseconds
C:\UBL-Schema-0.81-draft-8-Classic>
← Prev in month
← Prev in thread
Next in thread →
Next in month →