Skip to content

Commit ba6757e

Browse files
committed
Merge pull request #5 from phpcr/update
Update
2 parents 91956f1 + 4f72ef3 commit ba6757e

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

benchmarks/BaseBench.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,10 @@
77
use PHPCR\ImportUUIDBehaviorInterface;
88

99
/**
10-
* @Iterations(10)
10+
* @Iterations(4)
1111
* @Revs(10)
12-
* @OutputTimeUnit("milliseconds")
12+
* @OutputTimeUnit("seconds")
13+
* @OutputMode("throughput")
1314
*/
1415
abstract class BaseBench
1516
{

benchmarks/InsertBench.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ public function provideNbNodes()
4747
array(
4848
'nb_nodes' => 100,
4949
),
50-
array(
51-
'nb_nodes' => 1000,
52-
),
50+
//array(
51+
//'nb_nodes' => 1000,
52+
//),
5353
);
5454
}
5555
}

config/phpbench.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,25 +6,25 @@
66
"extends": "aggregate",
77
"title": "Inserting Nodes",
88
"description": "Insert nodes into the repository as children of a single parent",
9-
"params": {"selector": "//subject[group[@name='insert']]//variant"}
9+
"selector": "//subject[group[@name='insert']]//variant"
1010
},
1111
"query_select_one": {
1212
"extends": "aggregate",
1313
"title": "Query, selecting one property",
1414
"description": "Execute a SELECT query, selecting a single property: SELECT someprop FROM [nt:unstructured]",
15-
"params": {"selector": "//subject[group[@name='query_single_prop']]" },
15+
"selector": "//subject[group[@name='query_single_prop']]",
1616
"exclude": ["params", "group"]
1717
},
1818
"query_variable_props": {
1919
"extends": "aggregate",
2020
"title": "Query, variable properties",
2121
"description": " Execute a SELECT query with an increasing number of properties: SELECT [prop1, prop2, prop3, ...] FROM [nt:unstructured]",
22-
"params": {"selector": "//subject[group[@name='query_variable_props']]/variant" }
22+
"selector": "//subject[group[@name='query_variable_props']]/variant"
2323
},
2424
"full_tree_traversal": {
2525
"extends": "aggregate",
2626
"title": "Full Tree Traversal",
27-
"params": {"selector": "//subject[group[@name='traversal_full']]//variant" }
27+
"selector": "//subject[group[@name='traversal_full']]//variant"
2828
},
2929
"all": {
3030
"generator": "composite",

0 commit comments

Comments
 (0)