projects
/
SXSI
/
xpathcomp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Don't index empty texts
[SXSI/xpathcomp.git]
/
benchmark
/
main.ml
diff --git
a/benchmark/main.ml
b/benchmark/main.ml
index
a761bc2
..
98a9519
100644
(file)
--- a/
benchmark/main.ml
+++ b/
benchmark/main.ml
@@
-70,7
+70,7
@@
struct
( ".*Compiling query :[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
[ Query_compile_time 1]);
( ".*Compiling query :[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
[ Query_compile_time 1]);
- ( ".*
TopDown (No BackTrack)
:[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
+ ( ".*
Execution time
:[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
[ Query_execution_time 1]);
( ".*Serializing results :[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
[ Query_execution_time 1]);
( ".*Serializing results :[ \\t]*\\([0-9]+\\.[0-9]*\\)ms.*",
@@
-91,10
+91,17
@@
end
module I = INIT_TESTER (CONF)
module Test = MK (SXSI) (MK (SaxonBXQuery) (I))
module I = INIT_TESTER (CONF)
module Test = MK (SXSI) (MK (SaxonBXQuery) (I))
+
+
let l = Test.test_engine [] (make_queryset
let l = Test.test_engine [] (make_queryset
- ["/home/kim/Documents/Work/Code/xpathcomp/tests/
small
.xml"]
+ ["/home/kim/Documents/Work/Code/xpathcomp/tests/
tiny
.xml"]
["/descendant::*/descendant::*/descendant::*"])
;;
["/descendant::*/descendant::*/descendant::*"])
;;
+
+
+
+
+
List.iter (function (e,d),s ->
Printf.printf "\n-------------- %s -----------------" e;
Array.iter ( fun i ->
List.iter (function (e,d),s ->
Printf.printf "\n-------------- %s -----------------" e;
Array.iter ( fun i ->