Project

Profile

Help

Bug #2165

closed

Commandline -repeat:N not working properly

Added by Aleksander Karro about 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Command Line
Sprint/Milestone:
Start date:
2014-10-07
Due date:
% Done:

100%

Estimated time:
Legacy ID:
Applies to branch:
9.6
Fix Committed on Branch:
9.6
Fixed in Maintenance Release:
Platforms:

Description

I'm seeing weird behaviour when trying to benchmark Saxon 9.6.0.1 ee using the following command line:

java -server -Xmx2g -jar saxon96ee.jar -repeat:30 -o:result.xml test.xml test.xsl

When I use -repeat:30 I get:

* Average execution time over last 15 runs: 801.00544msms

Then again when I use -repeat:25 I get:

* Average execution time over last 13 runs: 829.111915msms

Again with -repeat:15 I get:

* Average execution time over last 8 runs: 817.645476msms

Also notice that the output has ms twice. When I run this with latest 9.5.1.6 version with:

java -server -Xmx2g -jar saxon95ee.jar -repeat:30 -o:result.xml test.xml test.xsl

I get:

* Average execution time over 30 runs: 765ms

My Java version is:

java version "1.8.0_20"

Java(TM) SE Runtime Environment (build 1.8.0_20-b26)

Java HotSpot(TM) 64-Bit Server VM (build 25.20-b23, mixed mode)

Running on Windows 7 x64 SP1

Please register to edit this issue

Also available in: Atom PDF