XProc-pipeline with oxygen faster than with calabash stand-alone
Questions about XML that are not covered by the other forums should go here.
-
- Posts: 9
- Joined: Thu Feb 15, 2018 5:19 pm
XProc-pipeline with oxygen faster than with calabash stand-alone
Why is a XProc-pipeline with oxygen faster than with calabash stand-alone? Or in other words, how can I change the settings in oxygen to "emulate" calabash stand-alone?
Even with small XML-input files oxygen is 5-times faster than running calabash from command line.
Even with small XML-input files oxygen is 5-times faster than running calabash from command line.
-
- Posts: 143
- Joined: Tue Mar 25, 2003 11:21 am
Re: XProc-pipeline with oxygen faster than with calabash stand-alone
Hello Martin,
We use the Calabash API in order to provide the XProc transformation support.
Basically there is no way to "slow" it down.
You can obtain the same result if you configure the Calabash as an external tool.
See: https://www.oxygenxml.com/doc/versions/ ... tools.html
Regards,
Mircea.
We use the Calabash API in order to provide the XProc transformation support.
Basically there is no way to "slow" it down.
You can obtain the same result if you configure the Calabash as an external tool.
See: https://www.oxygenxml.com/doc/versions/ ... tools.html
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 9
- Joined: Thu Feb 15, 2018 5:19 pm
Re: XProc-pipeline with oxygen faster than with calabash stand-alone
Thank you very much! But may I ask what makes the difference?
When I run the xsl-file
just_copy_input.xsl
calabash-stand-alone is as fast as oxygen with calabash.
Input size: 62 MB
xslt 2.0
Saxon PE 9.8.0.8 in oxygen
Saxon HE 10.2 used by calabash
The Xproc pipeline consists only of one p:xslt job.
calabash-stand-alone: 8 seconds
oxygen with calabash: 8 seconds
But as soon as I change the xsl-file from just_copy_input.xsl to a more "complex" stylesheet the performance of calabash-stand-alone is disappointing.
calabash-stand-alone: 330 seconds
oxygen with calabash: 45 seconds
Does oxygen do any optimizations behind the curtain?
When I run the xsl-file
just_copy_input.xsl
calabash-stand-alone is as fast as oxygen with calabash.
Input size: 62 MB
xslt 2.0
Saxon PE 9.8.0.8 in oxygen
Saxon HE 10.2 used by calabash
The Xproc pipeline consists only of one p:xslt job.
calabash-stand-alone: 8 seconds
oxygen with calabash: 8 seconds
But as soon as I change the xsl-file from just_copy_input.xsl to a more "complex" stylesheet the performance of calabash-stand-alone is disappointing.
calabash-stand-alone: 330 seconds
oxygen with calabash: 45 seconds
Does oxygen do any optimizations behind the curtain?

-
- Posts: 143
- Joined: Tue Mar 25, 2003 11:21 am
Re: XProc-pipeline with oxygen faster than with calabash stand-alone
Hello Martin,
You are comparing two different versions of Calabash actually. The one that uses Saxon 9.8.0.8 and the one that uses Saxon 10.2.
The calabash itself has the same version ?
The last version of Calabash that supports Saxon 9.8 and 10 is 1.2.1.
If you are not using the same version of Calabash and the same version of Saxon that might be the cause.
Regards,
Mircea.
You are comparing two different versions of Calabash actually. The one that uses Saxon 9.8.0.8 and the one that uses Saxon 10.2.
The calabash itself has the same version ?
The last version of Calabash that supports Saxon 9.8 and 10 is 1.2.1.
If you are not using the same version of Calabash and the same version of Saxon that might be the cause.
Regards,
Mircea.
Mircea Enachescu
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
-
- Posts: 2
- Joined: Thu May 20, 2021 2:28 pm
Re: XProc-pipeline with oxygen faster than with calabash stand-alone
Post by crawford47 »
In my case calabash stand-alone is way more faster.
Return to “General XML Questions”
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service