docs: add some comment
This commit is contained in:
parent
8bc423fb95
commit
e2dd57de76
|
@ -120,6 +120,7 @@ in the sparql query can point to the same node in data graph)
|
||||||
|
|
||||||
//WARN: when running in parallism, please modify the limits of system
|
//WARN: when running in parallism, please modify the limits of system
|
||||||
//http://www.cnblogs.com/likehua/p/3831331.html
|
//http://www.cnblogs.com/likehua/p/3831331.html
|
||||||
|
//http://blog.csdn.net/xyang81/article/details/52779229
|
||||||
//
|
//
|
||||||
//if use pthread and lock
|
//if use pthread and lock
|
||||||
#define THREAD_ON 1
|
#define THREAD_ON 1
|
||||||
|
|
|
@ -55,7 +55,7 @@ public class Benchmark
|
||||||
spq[4] = "select distinct ?x where { ?x <rdf:type> <ub:UndergraduateStudent>. }";
|
spq[4] = "select distinct ?x where { ?x <rdf:type> <ub:UndergraduateStudent>. }";
|
||||||
spq[5] = "select ?s ?o where { ?s ?p ?o . }";
|
spq[5] = "select ?s ?o where { ?s ?p ?o . }";
|
||||||
int tnum = 6;
|
int tnum = 6;
|
||||||
tnum = 12000;
|
//tnum = 12000;
|
||||||
MyThread[] qt = new MyThread[tnum];
|
MyThread[] qt = new MyThread[tnum];
|
||||||
for(int i = 0; i < tnum; ++i)
|
for(int i = 0; i < tnum; ++i)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue