X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=benchmark%2Fmain.ml;h=111f4214a931617aa2e0ebd164ae8bb1cdcd5a2f;hb=b7760799ea0d052916a0581fb0abe119d49e8a63;hp=fff21c3248973c792ddd3b9e83605e5679848132;hpb=36154bd9b953b84d539d2505d94c414b2e3c72e6;p=SXSI%2Fxpathcomp.git diff --git a/benchmark/main.ml b/benchmark/main.ml index fff21c3..111f421 100644 --- a/benchmark/main.ml +++ b/benchmark/main.ml @@ -27,6 +27,26 @@ Saxon 9.0.0.4J from Saxonica" let reference = false end +module QizxOpen : ENGINE = +struct + let name = "QizxOpen" + + (* Todo call the binary to actually compute the version string *) + let description = +"QizX/Open v2.1 +Java version 1.6.0_0" + let command = "/usr/local/qizxopen-2.1/bin/qizx" + let reference = false + let time_factor = 1.0 + let mk_queryfile b doc q out = build_xquery doc q out b + let mk_cmdline b qout qfile _ _ = [ "-v" ; "-out"^ (if b then qout else "/dev/null");"-q"; qfile ] + let parse_rules = [ + (".*display time: \\([0-9]+\\) ms.*", + [ Query_execution_time 1 ]); + ] + let reference = false +end + module XsltProc : ENGINE = struct let name = "XSLTProc"