docs: benchmark1 is right in java api of http;
but benchmark still exists errors; by znegli
This commit is contained in:
parent
f223dd80b6
commit
a3f9dd455c
|
@ -26,7 +26,7 @@ class MyThread extends Thread {
|
|||
String filename = "result/" + num + ".txt";
|
||||
String answer = "";
|
||||
// String answer = gc.query("root", "123456", "test", sparql);
|
||||
gc.query("root", "123456", "test", sparql, filename);
|
||||
gc.query("root", "123456", "lubm", sparql, filename);
|
||||
|
||||
FileInputStream in = null;
|
||||
try {
|
||||
|
@ -67,8 +67,8 @@ public class Benchmark1
|
|||
{
|
||||
public static void main(String[] args)
|
||||
{
|
||||
GstoreConnector gc = new GstoreConnector("172.31.222.78", 3305);
|
||||
gc.load("test", "root", "123456");
|
||||
GstoreConnector gc = new GstoreConnector("172.31.222.94", 9000);
|
||||
gc.load("lubm", "root", "123456");
|
||||
String[] spq = new String[6];
|
||||
spq[0] = "select ?x where"
|
||||
+"{"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
all: JavaAPIExample.class Benchmark.class
|
||||
all: JavaAPIExample.class Benchmark.class Benchmark1.class
|
||||
|
||||
JavaAPIExample.class: JavaAPIExample.java
|
||||
javac -cp ../lib/GstoreJavaAPI.jar JavaAPIExample.java
|
||||
|
@ -6,12 +6,17 @@ JavaAPIExample.class: JavaAPIExample.java
|
|||
Benchmark.class: Benchmark.java
|
||||
javac -cp ../lib/GstoreJavaAPI.jar Benchmark.java
|
||||
|
||||
Benchmark1.class: Benchmark1.java
|
||||
javac -cp ../lib/GstoreJavaAPI.jar Benchmark1.java
|
||||
|
||||
.PHONY: clean run
|
||||
|
||||
run: JavaAPIExample.class
|
||||
java -cp ../lib/GstoreJavaAPI.jar:. JavaAPIExample
|
||||
test: Benchmark.class
|
||||
java -XX:-UseGCOverheadLimit -Xmx64G -cp ../lib/GstoreJavaAPI.jar:. Benchmark
|
||||
test1: Benchmark1.class
|
||||
java -XX:-UseGCOverheadLimit -Xmx64G -cp ../lib/GstoreJavaAPI.jar:. Benchmark1
|
||||
|
||||
#test: Benchmark.class
|
||||
#java -XX:-UseGCOverheadLimit -Xmx64G -cp ../lib/GstoreJavaAPI.jar:. Benchmark >> time.txt
|
||||
|
|
Loading…
Reference in New Issue