Ok — I’ve done my testing and am sufficiently happy that the new XSLT engine switching works and that the Saxon engine will work with current XSLT stylesheets. Benchmarks:
MARCXML => MARC
- MSXML Engine
- 500 Records: first run (1.2 secs)
- 500 Records: second/third run (0.09 secs)
- 500 Records: first run (5.4 secs)
- 500 Records: second/third run (0.8 seconds)
The first time through, each component takes a little longer to run because the assembly needs to be loaded by the VM — however, after the first load, the item is placed into the Assembly cache so it runs much faster. Each benchmark was on the save 500 records, but 3 different files to keep file catching from skewing the results.
The file can be downloaded from: MarcEdit50_Setup.exe. For those downloading this program, you will notice that the program is now ~7.9 MB. This is 4 MB larger than the previous file — and directly relates to the size of the Saxon files added to MarcEdit. Because of the size, I’d considered making folks download the Saxon libraries instead of packaging them — but I figured that this would make it easier for folks to use.
–TR