Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 0c92868

Browse files
committed
benchmarks update
2 parents 2b8fa99 + 877f37c commit 0c92868

7 files changed

Lines changed: 4147 additions & 5 deletions

File tree

README.md

Lines changed: 23 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ The proposed solution has been evaluated on several real-world graphs for both t
1313
**Enviroment configuration**:
1414
* Java HotSpot(TM) 64-Bit server virtual machine (build 15.0.2+7-27, mixed mode, sharing).
1515
* JVM heap configuration: 55Gb both xms and xmx.
16-
* Neo4j 4.0.3 is used. Almost all default configurations are default except: total off-heap transaction memory (tx_state_max_off_heap_memory parameter) is 24Gb, and pagecache_warmup_enabled is set to true.
16+
* Neo4j 4.0.3 is used. Almost all configurations are default except two:
17+
* total off-heap transaction memory (tx_state_max_off_heap_memory parameter) is set to 24Gb
18+
* pagecache_warmup_enabled is set to true.
1719

1820

1921
### Graphs
@@ -49,7 +51,7 @@ All queries used in evaluation are variants of same-generation query. The invers
4951

5052
<br/>
5153

52-
Grammars used for RDF graphs:
54+
Grammars used for **RDF** graphs:
5355

5456
**G<sub>1</sub>**
5557
```
@@ -70,7 +72,7 @@ S -> broaderTransitive S broaderTransitive_r
7072

7173
<br/>
7274

73-
Grammar used for static code analysis graphs:
75+
Grammar used for **static code analysis** graphs:
7476

7577
**PointsTo**
7678
```
@@ -244,9 +246,25 @@ arg7 | The name of a file with result
244246
arg8 | Grammar name (g1/g2/geo/pointsTo)
245247

246248
### Example
247-
To run experiments on Geospecies graph on Geo grammar use the following command:
249+
250+
Here is an example which can be run right after project is downloaded and results directory is created without any additional preparation.
251+
252+
To run experiments on **Core** graph on **G<sub>1</sub>** grammar use the following command:
253+
254+
```
255+
mvn exec:java -Dexec.mainClass="benchmark.Neo4jBenchmark" -Dexec.args="st 1323 2 5 <ABS_PATH_TO_PROJECT>/data/core/ test/resources/grammars/graph/g1/grammar.json core g1"
256+
```
257+
258+
### Data
259+
To get more graph data examples use Python script:
260+
261+
```
262+
graph_loader.py --graph {graph_name} --relationships {comma_separated_relationships_list}
263+
```
264+
265+
For example:
248266
```
249-
mvn exec:java -Dexec.mainClass="benchmark.Neo4jBenchmark" -Dexec.args="bt 450609 2 5 home/user/data/graphs/geospecies/ test/resources/grammars/graph/g1/grammar.json geospecies g1"
267+
graph_loader.py --graph core --relationships subClassOf,type
250268
```
251269

252270
## License

0 commit comments

Comments
 (0)