Code Monkey home page Code Monkey logo

nebulagraph-bench's People

Contributors

acking-sam avatar casualwind avatar dutor avatar fangjinhe avatar harrischu avatar heroicnezha avatar monadbobo avatar qingz11 avatar sajotim avatar shanlai avatar tom-chensf avatar wenhaocs avatar wey-gu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

nebulagraph-bench's Issues

query error after ddl operation

After I have executed the following two ddl statements,Some query statements begin to report errors.When I delete the two attributes, the query is normal again
ddl:ALTER TAG Ngssign ADD (xm_sign string NOT NULL COMMENT '小蜜标记') ;
ALTER TAG Ngssign ADD (xm_sign_rem string NOT NULL COMMENT '小蜜标记备注');
error:
image

my nebula version is 3.1.0
tag 5000,00000
edge 7000,0000

Can not import data into NebulaGraph

I'm stucking at import data into NebulaGraph with README guide

version
nebula bench: 1.2.0
nebula importer: 4.0
nebula graph: 3.5

error info: unsupported client version
image

generate importer_config.yaml snippets:

version: v2
description: ldbc
removeTempFiles: false
clientSettings:
  retry: 3
  concurrency: 30 # number of graph clients
  channelBufferSize: 128
  space: mytest
  connection:
    user: ***********
    password: *************
    address: ***************
  postStart:
    commands: |
      CREATE SPACE IF NOT EXISTS mytest(PARTITION_NUM = 24, REPLICA_FACTOR = 3, vid_type = int64);
      USE mytest;
      CREATE TAG IF NOT EXISTS `Post`(`imageFile` string,`creationDate` datetime,`locationIP` string,`browserUsed` string,`language` string,`content` string,`length` int);
      CREATE TAG IF NOT EXISTS `Tagclass`(`name` string,`url` string);
      CREATE TAG IF NOT EXISTS `Tag`(`name` string,`url` string);
      CREATE TAG IF NOT EXISTS `Place`(`name` string,`url` string,`type` string);
      CREATE TAG IF NOT EXISTS `Person`(`firstName` string,`lastName` string,`gender` string,`birthday` string,`creationDate` datetime,`locationIP` string,`browserUsed` string);
      CREATE TAG IF NOT EXISTS `Organisation`(`type` string,`name` string,`url` string);
…………

it looks likes NebulaGraph-Bench not update nebula-import-vid-int.yaml.j2 in template folder to Nebula_Importer_V3's schema

Nebula bench supports offline install mode and ldbc-snb test case

Hi~
Recently,I tested nebula graph using nebula bench.Since our server can not connect to the internet,we must prepare ldbc test data first in another server ,then build k6 plugin and nebula importer using offline mode. This is a waste of time.
I have used tiger graph and Neo4j.They have supported ldbc-snb,include IS、IC and BI queries, but nebula support only a few part. It‘s not convenient for users to compare Nebula with other graph db.

Support data access strategy

We only support sequentially read csv. Consider support some other strategies to mock hot-spot in data.

YCSB support 3 styles: uniform、zipfian、latest.

A problem encountered during using nebula-bench to test "insert vertex" statements

Using nebula-bench to test “insert vertex” statement,The “InsertComment” class created in the “scenarios” folder is shown below:

class InsertComment(BaseScenario):
is_insert_scenario = True
nGQL = "INSERT VERTEX Comment (creationDate, locationIP, browserUsed, content, length) VALUES "
abstract = False
csv_path = "social_network/dynamic/comment.csv"
csv_index = [1, 2, 3, 4, 5]

The statement that is then executed is as follows (corresponding to the name and address of the graph space):

python3 run.py stress run -scenario insert.InsertComment --args='-u 3 -d 3s' -s stress_test_0518 -a 172.18.0.8:9669

The test results returned are as follows:
image

Afterwards, open the relevant js file and CSV file in the output folder to see the problem.
Part of the output_InsertComment.csv file is as follows:
image

The main error is that each time the ngql statement is constructed, two double quotes are constructed in the double quotes describing the vertex’s attributes.
Subsequently, the generated InsertComment.js file was queried,Some of the code is as follows:

export function setup() {
// config csv file
pool.configCSV("target/data/test_data/social_network/dynamic/comment.csv", "|", false)
// config output file, save every query information
pool.configOutput("output/output_InsertComment.csv")
sleep(1)
}

export default function (data) {
let ngql = 'INSERT VERTEX Comment (creationDate, locationIP, browserUsed, content, length) VALUES '
let batches = []
let batchSize = 100
// batch size 100
for (let i = 0; i < batchSize; i++) {
let d = session.getData();
let values = []
let arr = [1,2,3,4,5]
arr.forEach(function(e){
let value = '"' + d[e] + '"'
values.push(value)
})

let batch = d[0] + ":(" + values.join(",") + ")"
batches.push(batch)

}
ngql = ngql + batches.join(',')
let response = session.execute(ngql)
check(response, {
"IsSucceed": (r) => r.isSucceed() === true
});
// add trend
lantencyTrend.add(response.getLatency());
responseTrend.add(response.getResponseTime());
};

Afterwards, Try to change “ let value = '"' + d[e] + '"' “ to “ let value = “’” + d[e] + “’” “, Execute the statement:

scripts/k6 run output/InsertComment.js -u 3 -d 3s --summary-trend-stats "min,avg,med,max,p(90),p(95),p(99)" --summary-export output/result_InsertComment.json
The checks of k6's output is still 0.
image
The output_InsertComment.csv file was found to be as follows:
image
Found that only a single quote was output in the executed ngql statement, then tried successively with """ + d[e] + """, " \x22" + d[e] + "\x22" and so on, but the output csv file shows two double quotes. I would like to know what the problem is and how to solve it.

support stress test stage

support render k6 config file with test stage, e.g.

export let options = {
  stages: [
    { duration: '3m', target: 10 },
    { duration: '5m', target: 10 },
    { duration: '10m', target: 35 },
    { duration: '3m', target: 0 },
  ],
};

maybe we could config it in .env file.

ldbc数据集需要做什么样的处理

ldbc数据集导入测试部分不太详细,有几个问题请帮忙解答一下
1 ldbc数据集
目前,ldbc数据集是否要做什么特殊处理,之前有在论坛问过的回复是:目前nebula-bench 没更新,比较简单的办法就是用 ldbc v0.3.3 生成数据后,去掉 csv 的第一行。 现在任然需要自己去修改指定的数据嘛,v2.0.1的测试报告是否也是基于ldbc v0.3.3来做的?

2
nebula-bench中对ldbc数据处理有一个merger的步骤,我们观察到只是修改了updateStream.csv这个文件,但是yaml配置中似乎并未使用到这个csv文件

can pass more k6 parameters

as k6 has more parameters, like -v means verbose, -out support more output, -s means test stage.
should pass more k6 parameters.

e.g.

python3 run.py stress run -s 10s:100 -s 60s -s 10s:0

K6 test error

import command:
python3 run.py nebula importer -s test -a 192.168.15.230:9669 -t string -p
test command:
python3 run.py stress run -scenario go.Go1StepEdge --args='-u 10 -d 3s'
result:
image

error log:
GO 1 STEP FROM 32985348836344 OVER KNOWS yield KNOWS.creationDate,105,289,false,0,,SemanticError: Vid should be a FIXED_STRING

run.py时候报错

python3 run.py --help
Traceback (most recent call last):
File "run.py", line 2, in
from nebula_bench import cli
File "/data/nebula/nebula-bench/nebula_bench/cli.py", line 2, in
import click
ImportError: No module named 'click'

另外能否附上 做benchmark的详细步骤?

nebula-bench 报错

运行 python3 run.py data ,
会报如下错误

Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/xml/serializer/TreeWalker
at org.apache.xalan.processor.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:823)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3496)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3461)
at org.apache.hadoop.conf.Configuration.writeXml(Configuration.java:3457)
at org.apache.hadoop.mapreduce.JobSubmitter.writeConf(JobSubmitter.java:290)
at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:245)
at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1570)
at org.apache.hadoop.mapreduce.Job$11.run(Job.java:1567)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAs(Subject.java:422)

能帮忙看一下吗

0% Issucceed means failed?

Hi,
I'm doing some search on nebula recently. When did benchmark with nebula-bench, I met 0% Issucceed issue. I followed the BKM https://github.com/vesoft-inc/nebula-bench/blob/master/README_cn.md to run benchmark. Below is the detailed info when generate, import and benchmark. I didn't find obvious error message. Can someone help me to confirm:

  1. Did I run benchmark successfully?
  2. Which step I made mistake?
    Thanks in advance.

Best regards,
Xingyi

[root@SPR02 nebula-bench]# python3 run.py nebula importer -s mytest -a 127.0.0.1:9669
2022/07/15 15:51:36 --- START OF NEBULA IMPORTER ---
2022/07/15 15:51:56 [INFO] clientmgr.go:31: Create 30 Nebula Graph clients
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(0): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment.csv, schema: < :VID(int),Comment.creationDate:datetime,Comment.locationIP:string,Comment.browserUsed:string,Comment.content:string,Comment.length:int >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(1): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum.csv, schema: < :VID(int),Forum.title:string,Forum.creationDate:datetime >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(2): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person.csv, schema: < :VID(int),Person.firstName:string,Person.lastName:string,Person.gender:string,Person.birthday:string,Person.creationDate:datetime,Person.locationIP:string,Person.browserUsed:string >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(3): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post.csv, schema: < :VID(int),Post.imageFile:string,Post.creationDate:datetime,Post.locationIP:string,Post.browserUsed:string,Post.language:string,Post.content:string,Post.length:int >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(4): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation.csv, schema: < :VID(int),Organisation.type:string,Organisation.name:string,Organisation.url:string >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(5): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/place.csv, schema: < :VID(int),Place.name:string,Place.url:string,Place.type:string >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(6): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag.csv, schema: < :VID(int),Tag.name:string,Tag.url:string >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(7): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass.csv, schema: < :VID(int),Tagclass.name:string,Tagclass.url:string >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_isLocatedIn_place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(8): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_isLocatedIn_place.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_knows_person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(9): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_knows_person.csv, schema: < :SRC_VID(int),:DST_VID(int),KNOWS.creationDate:datetime >
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass.csv) is: 71, error lines: 0
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_comment.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(10): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_comment.csv, schema: < :SRC_VID(int),:DST_VID(int),LIKES.creationDate:datetime >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_post.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(11): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_post.csv, schema: < :SRC_VID(int),:DST_VID(int),LIKES.creationDate:datetime >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasCreator_person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(12): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasCreator_person.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass.csv): Time(20.03s), Finished(120), Failed(0), Read Failed(0), Latency AVG(1039us), Batches Req AVG(2437us), Rows AVG(5.99/s)
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/place.csv) is: 1460, error lines: 0
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_isLocatedIn_place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasTag_tag.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(13): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasTag_tag.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(14): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_isLocatedIn_place.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_comment.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(15): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_comment.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_post.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(16): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_post.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_containerOf_post.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(17): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_containerOf_post.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasMember_person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(18): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasMember_person.csv, schema: < :SRC_VID(int),:DST_VID(int),HAS_MEMBER.joinDate:datetime >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasModerator_person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(19): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasModerator_person.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasTag_tag.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(20): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasTag_tag.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_hasInterest_tag.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(21): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_hasInterest_tag.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_studyAt_organisation.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(22): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_studyAt_organisation.csv, schema: < :SRC_VID(int),:DST_VID(int),STUDY_AT.classYear:int >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_workAt_organisation.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(23): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_workAt_organisation.csv, schema: < :SRC_VID(int),:DST_VID(int),WORK_AT.workFrom:int >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasCreator_person.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(24): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasCreator_person.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasTag_tag.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(25): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasTag_tag.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_isLocatedIn_place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(26): /home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_isLocatedIn_place.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation_isLocatedIn_place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(27): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation_isLocatedIn_place.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/place_isPartOf_place.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(28): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/place_isPartOf_place.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass_isSubclassOf_tagclass.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(29): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass_isSubclassOf_tagclass.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:49: The delimiter of /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag_hasType_tagclass.csv is U+007C '|'
2022/07/15 15:51:56 [INFO] reader.go:68: Start to read file(30): /home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag_hasType_tagclass.csv, schema: < :SRC_VID(int),:DST_VID(int) >
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass_isSubclassOf_tagclass.csv) is: 70, error lines: 0
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/place_isPartOf_place.csv) is: 1454, error lines: 0
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_isLocatedIn_place.csv) is: 9892, error lines: 0
2022/07/15 15:51:56 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/place.csv): Time(20.06s), Finished(2731), Failed(0), Read Failed(0), Latency AVG(9702us), Batches Req AVG(10484us), Rows AVG(136.18/s)
2022/07/15 15:51:56 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation_isLocatedIn_place.csv) is: 7955, error lines: 0
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_studyAt_organisation.csv) is: 7949, error lines: 0
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag_hasType_tagclass.csv) is: 16080, error lines: 0
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation.csv) is: 7955, error lines: 0
2022/07/15 15:51:57 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tagclass_isSubclassOf_tagclass.csv): Time(20.26s), Finished(71095), Failed(0), Read Failed(0), Latency AVG(8243us), Batches Req AVG(8527us), Rows AVG(3509.95/s)
2022/07/15 15:51:57 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/place_isPartOf_place.csv): Time(20.32s), Finished(92877), Failed(0), Read Failed(0), Latency AVG(8120us), Batches Req AVG(8358us), Rows AVG(4571.30/s)
2022/07/15 15:51:57 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_isLocatedIn_place.csv): Time(20.37s), Finished(111747), Failed(0), Read Failed(0), Latency AVG(8216us), Batches Req AVG(8429us), Rows AVG(5484.77/s)
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person.csv) is: 9892, error lines: 0
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag.csv) is: 16080, error lines: 0
2022/07/15 15:51:57 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation_isLocatedIn_place.csv): Time(20.69s), Finished(197566), Failed(0), Read Failed(0), Latency AVG(9244us), Batches Req AVG(9407us), Rows AVG(9550.02/s)
2022/07/15 15:51:57 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_workAt_organisation.csv) is: 21654, error lines: 0
2022/07/15 15:51:57 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_studyAt_organisation.csv): Time(20.85s), Finished(243416), Failed(0), Read Failed(0), Latency AVG(9426us), Batches Req AVG(9573us), Rows AVG(11675.02/s)
2022/07/15 15:51:58 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag_hasType_tagclass.csv): Time(21.09s), Finished(301646), Failed(0), Read Failed(0), Latency AVG(9841us), Batches Req AVG(9978us), Rows AVG(14305.08/s)
2022/07/15 15:51:58 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/organisation.csv): Time(21.20s), Finished(332886), Failed(0), Read Failed(0), Latency AVG(9903us), Batches Req AVG(10035us), Rows AVG(15701.60/s)
2022/07/15 15:51:58 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person.csv): Time(21.78s), Finished(499671), Failed(0), Read Failed(0), Latency AVG(9995us), Batches Req AVG(10113us), Rows AVG(22944.74/s)
2022/07/15 15:51:58 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/static/tag.csv): Time(21.86s), Finished(530979), Failed(0), Read Failed(0), Latency AVG(9818us), Batches Req AVG(9933us), Rows AVG(24294.65/s)
2022/07/15 15:51:59 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_workAt_organisation.csv): Time(22.09s), Finished(600812), Failed(0), Read Failed(0), Latency AVG(9796us), Batches Req AVG(9909us), Rows AVG(27198.47/s)
2022/07/15 15:52:01 [INFO] statsmgr.go:89: Tick: Time(25.00s), Finished(1448312), Failed(0), Read Failed(0), Latency AVG(10023us), Batches Req AVG(10123us), Rows AVG(57930.27/s)
2022/07/15 15:52:02 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasModerator_person.csv) is: 90492, error lines: 0
2022/07/15 15:52:02 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum.csv) is: 90492, error lines: 0
2022/07/15 15:52:03 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasModerator_person.csv): Time(26.51s), Finished(1879320), Failed(0), Read Failed(0), Latency AVG(10104us), Batches Req AVG(10201us), Rows AVG(70880.18/s)
2022/07/15 15:52:03 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum.csv): Time(26.77s), Finished(1953996), Failed(0), Read Failed(0), Latency AVG(10095us), Batches Req AVG(10192us), Rows AVG(72984.38/s)
2022/07/15 15:52:06 [INFO] statsmgr.go:89: Tick: Time(30.00s), Finished(2859196), Failed(0), Read Failed(0), Latency AVG(10253us), Batches Req AVG(10347us), Rows AVG(95303.53/s)
2022/07/15 15:52:07 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_knows_person.csv) is: 180623, error lines: 0
2022/07/15 15:52:08 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_knows_person.csv): Time(31.97s), Finished(3428219), Failed(0), Read Failed(0), Latency AVG(10247us), Batches Req AVG(10342us), Rows AVG(107241.82/s)
2022/07/15 15:52:09 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_hasInterest_tag.csv) is: 229166, error lines: 0
2022/07/15 15:52:11 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_hasInterest_tag.csv): Time(34.42s), Finished(4128585), Failed(0), Read Failed(0), Latency AVG(10269us), Batches Req AVG(10363us), Rows AVG(119941.48/s)
2022/07/15 15:52:11 [INFO] statsmgr.go:89: Tick: Time(35.00s), Finished(4285285), Failed(0), Read Failed(0), Latency AVG(10291us), Batches Req AVG(10384us), Rows AVG(122435.90/s)
2022/07/15 15:52:14 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasTag_tag.csv) is: 309766, error lines: 0
2022/07/15 15:52:15 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasTag_tag.csv): Time(38.91s), Finished(5339151), Failed(0), Read Failed(0), Latency AVG(10436us), Batches Req AVG(10528us), Rows AVG(137209.93/s)
2022/07/15 15:52:16 [INFO] statsmgr.go:89: Tick: Time(40.00s), Finished(5628651), Failed(0), Read Failed(0), Latency AVG(10472us), Batches Req AVG(10564us), Rows AVG(140715.28/s)
2022/07/15 15:52:21 [INFO] statsmgr.go:89: Tick: Time(45.00s), Finished(6996951), Failed(0), Read Failed(0), Latency AVG(10546us), Batches Req AVG(10638us), Rows AVG(155484.57/s)
2022/07/15 15:52:26 [INFO] statsmgr.go:89: Tick: Time(50.00s), Finished(8359351), Failed(0), Read Failed(0), Latency AVG(10604us), Batches Req AVG(10696us), Rows AVG(167184.79/s)
2022/07/15 15:52:31 [INFO] statsmgr.go:89: Tick: Time(55.00s), Finished(9685651), Failed(0), Read Failed(0), Latency AVG(10686us), Batches Req AVG(10778us), Rows AVG(176099.68/s)
2022/07/15 15:52:35 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasTag_tag.csv) is: 713258, error lines: 0
2022/07/15 15:52:36 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasTag_tag.csv): Time(59.92s), Finished(10977209), Failed(0), Read Failed(0), Latency AVG(10761us), Batches Req AVG(10853us), Rows AVG(183189.47/s)
2022/07/15 15:52:36 [INFO] statsmgr.go:89: Tick: Time(60.00s), Finished(10998709), Failed(0), Read Failed(0), Latency AVG(10761us), Batches Req AVG(10853us), Rows AVG(183310.07/s)
2022/07/15 15:52:37 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_post.csv) is: 751677, error lines: 0
2022/07/15 15:52:38 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_post.csv): Time(62.03s), Finished(11524886), Failed(0), Read Failed(0), Latency AVG(10792us), Batches Req AVG(10883us), Rows AVG(185802.54/s)
2022/07/15 15:52:41 [INFO] statsmgr.go:89: Tick: Time(65.00s), Finished(12312886), Failed(0), Read Failed(0), Latency AVG(10819us), Batches Req AVG(10910us), Rows AVG(189426.79/s)
2022/07/15 15:52:46 [INFO] statsmgr.go:89: Tick: Time(70.00s), Finished(13586386), Failed(0), Read Failed(0), Latency AVG(10899us), Batches Req AVG(10990us), Rows AVG(194089.37/s)
2022/07/15 15:52:48 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_isLocatedIn_place.csv) is: 1003605, error lines: 0
2022/07/15 15:52:49 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_containerOf_post.csv) is: 1003605, error lines: 0
2022/07/15 15:52:49 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasCreator_person.csv) is: 1003605, error lines: 0
2022/07/15 15:52:49 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_post.csv) is: 1011420, error lines: 0
2022/07/15 15:52:49 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post.csv) is: 1003605, error lines: 0
2022/07/15 15:52:50 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_comment.csv) is: 1040749, error lines: 0
2022/07/15 15:52:50 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_isLocatedIn_place.csv): Time(73.47s), Finished(14507124), Failed(0), Read Failed(0), Latency AVG(10916us), Batches Req AVG(11007us), Rows AVG(197453.54/s)
2022/07/15 15:52:50 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_containerOf_post.csv): Time(73.58s), Finished(14512403), Failed(0), Read Failed(0), Latency AVG(10934us), Batches Req AVG(11025us), Rows AVG(197238.64/s)
2022/07/15 15:52:50 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post_hasCreator_person.csv): Time(73.67s), Finished(14535401), Failed(0), Read Failed(0), Latency AVG(10934us), Batches Req AVG(11025us), Rows AVG(197312.56/s)
2022/07/15 15:52:50 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_post.csv): Time(73.86s), Finished(14585928), Failed(0), Read Failed(0), Latency AVG(10932us), Batches Req AVG(11024us), Rows AVG(197483.60/s)
2022/07/15 15:52:50 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/post.csv): Time(73.93s), Finished(14603426), Failed(0), Read Failed(0), Latency AVG(10932us), Batches Req AVG(11024us), Rows AVG(197540.73/s)
2022/07/15 15:52:51 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_replyOf_comment.csv): Time(74.54s), Finished(14774375), Failed(0), Read Failed(0), Latency AVG(10929us), Batches Req AVG(11020us), Rows AVG(198216.76/s)
2022/07/15 15:52:51 [INFO] statsmgr.go:89: Tick: Time(75.00s), Finished(14894875), Failed(0), Read Failed(0), Latency AVG(10932us), Batches Req AVG(11023us), Rows AVG(198598.22/s)
2022/07/15 15:52:56 [INFO] statsmgr.go:89: Tick: Time(80.00s), Finished(16163075), Failed(0), Read Failed(0), Latency AVG(10994us), Batches Req AVG(11086us), Rows AVG(202037.25/s)
2022/07/15 15:52:59 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_comment.csv) is: 1438418, error lines: 0
2022/07/15 15:53:00 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/person_likes_comment.csv): Time(84.00s), Finished(17180593), Failed(0), Read Failed(0), Latency AVG(11033us), Batches Req AVG(11125us), Rows AVG(204540.56/s)
2022/07/15 15:53:01 [INFO] statsmgr.go:89: Tick: Time(85.00s), Finished(17453193), Failed(0), Read Failed(0), Latency AVG(11032us), Batches Req AVG(11123us), Rows AVG(205331.52/s)
2022/07/15 15:53:02 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasMember_person.csv) is: 1611869, error lines: 0
2022/07/15 15:53:04 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/forum_hasMember_person.csv): Time(87.49s), Finished(18070562), Failed(0), Read Failed(0), Latency AVG(11063us), Batches Req AVG(11154us), Rows AVG(206554.47/s)
2022/07/15 15:53:06 [INFO] statsmgr.go:89: Tick: Time(90.00s), Finished(18716862), Failed(0), Read Failed(0), Latency AVG(11080us), Batches Req AVG(11171us), Rows AVG(207963.19/s)
2022/07/15 15:53:09 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasCreator_person.csv) is: 2052169, error lines: 0
2022/07/15 15:53:09 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_isLocatedIn_place.csv) is: 2052169, error lines: 0
2022/07/15 15:53:09 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment.csv) is: 2052169, error lines: 0
2022/07/15 15:53:10 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasCreator_person.csv): Time(94.05s), Finished(19765542), Failed(0), Read Failed(0), Latency AVG(11100us), Batches Req AVG(11191us), Rows AVG(210154.29/s)
2022/07/15 15:53:11 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_isLocatedIn_place.csv): Time(94.13s), Finished(19783700), Failed(0), Read Failed(0), Latency AVG(11099us), Batches Req AVG(11191us), Rows AVG(210183.75/s)
2022/07/15 15:53:11 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment.csv): Time(94.26s), Finished(19820869), Failed(0), Read Failed(0), Latency AVG(11098us), Batches Req AVG(11189us), Rows AVG(210274.21/s)
2022/07/15 15:53:11 [INFO] statsmgr.go:89: Tick: Time(95.00s), Finished(19988969), Failed(0), Read Failed(0), Latency AVG(11114us), Batches Req AVG(11205us), Rows AVG(210408.37/s)
2022/07/15 15:53:12 [INFO] reader.go:184: Total lines of file(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasTag_tag.csv) is: 2698393, error lines: 0
2022/07/15 15:53:13 [INFO] statsmgr.go:89: Done(/home/xingyi/nebula-bench/target/data/test_data/social_network/dynamic/comment_hasTag_tag.csv): Time(96.81s), Finished(20437762), Failed(0), Read Failed(0), Latency AVG(11131us), Batches Req AVG(11222us), Rows AVG(211120.53/s)
2022/07/15 15:53:14 Finish import data, consume time: 97.31s
2022/07/15 15:53:15 --- END OF NEBULA IMPORTER ---

benchmark result
[root@SPR02 nebula-bench]# python3 run.py stress run -scenario go.Go1Step --args='-s 10s:10 -s 30s:10 -s 10s:50 -o csv=test.csv'
2022-07-15 16:28:36.000878 - INFO stress.py [line:43] total stress test scenarios is 1
2022-07-15 16:28:36.000878 - INFO stress.py [line:159] run stress test in k6
2022-07-15 16:28:36.000878 - INFO stress.py [line:178] every scenario would run by 100 vus and last 60s
2022-07-15 16:28:36.000878 - INFO stress.py [line:121] begin dump stress config, config file is output/Go1Step.js
run command as below:
scripts/k6 run output/Go1Step.js -s 10s:10 -s 30s:10 -s 10s:50 -o csv=test.csv --summary-trend-stats "min,avg,med,max,p(90),p(95),p(99)" --summary-export output/result_Go1Step.json

      /\      |‾‾| /‾‾/   /‾‾/
 /\  /  \     |  |/  /   /  /
/  \/    \    |     (   /   ‾‾\

/ \ | |\ \ | (‾) |
/ __________ \ |__| _\ ____/ .io

execution: local
script: output/Go1Step.js
output: csv (test.csv)

scenarios: (100.00%) 1 scenario, 50 max VUs, 1m20s max duration (incl. graceful stop):
* default: Up to 50 looping VUs for 50s over 3 stages (gracefulRampDown: 30s, gracefulStop: 30s)

Run [ 100% ] setup()
default [ 0% ]

running (0m02.0s), 01/50 VUs, 7266 complete and 0 interrupted iterations
default [ 2% ] 01/50 VUs 00.9s/50.0s

running (0m03.0s), 02/50 VUs, 20030 complete and 0 interrupted iterations
default [ 4% ] 02/50 VUs 01.9s/50.0s

running (0m04.0s), 03/50 VUs, 39162 complete and 0 interrupted iterations
default [ 6% ] 03/50 VUs 02.9s/50.0s

running (0m05.0s), 04/50 VUs, 63878 complete and 0 interrupted iterations
default [ 8% ] 04/50 VUs 03.9s/50.0s

running (0m06.0s), 05/50 VUs, 94077 complete and 0 interrupted iterations
default [ 10% ] 05/50 VUs 04.9s/50.0s

running (0m07.0s), 06/50 VUs, 127696 complete and 0 interrupted iterations
default [ 12% ] 06/50 VUs 05.9s/50.0s

running (0m08.0s), 07/50 VUs, 164932 complete and 0 interrupted iterations
default [ 14% ] 07/50 VUs 06.9s/50.0s

running (0m09.0s), 08/50 VUs, 204300 complete and 0 interrupted iterations
default [ 16% ] 08/50 VUs 07.9s/50.0s

running (0m10.0s), 09/50 VUs, 245258 complete and 0 interrupted iterations
default [ 18% ] 09/50 VUs 08.9s/50.0s

running (0m11.0s), 09/50 VUs, 290208 complete and 0 interrupted iterations
default [ 20% ] 09/50 VUs 09.9s/50.0s

running (0m12.0s), 10/50 VUs, 335131 complete and 0 interrupted iterations
default [ 22% ] 10/50 VUs 10.9s/50.0s

running (0m13.0s), 10/50 VUs, 382465 complete and 0 interrupted iterations
default [ 24% ] 10/50 VUs 11.9s/50.0s

running (0m14.0s), 10/50 VUs, 428352 complete and 0 interrupted iterations
default [ 26% ] 10/50 VUs 12.9s/50.0s

running (0m15.0s), 10/50 VUs, 473258 complete and 0 interrupted iterations
default [ 28% ] 10/50 VUs 13.9s/50.0s

running (0m16.0s), 10/50 VUs, 518641 complete and 0 interrupted iterations
default [ 30% ] 10/50 VUs 14.9s/50.0s

running (0m17.0s), 10/50 VUs, 565317 complete and 0 interrupted iterations
default [ 32% ] 10/50 VUs 15.9s/50.0s

running (0m18.0s), 10/50 VUs, 613136 complete and 0 interrupted iterations
default [ 34% ] 10/50 VUs 16.9s/50.0s

running (0m19.0s), 10/50 VUs, 658396 complete and 0 interrupted iterations
default [ 36% ] 10/50 VUs 17.9s/50.0s

running (0m20.0s), 10/50 VUs, 704423 complete and 0 interrupted iterations
default [ 38% ] 10/50 VUs 18.9s/50.0s

running (0m21.0s), 10/50 VUs, 750449 complete and 0 interrupted iterations
default [ 40% ] 10/50 VUs 19.9s/50.0s

running (0m22.0s), 10/50 VUs, 797257 complete and 0 interrupted iterations
default [ 42% ] 10/50 VUs 20.9s/50.0s

running (0m23.0s), 10/50 VUs, 844753 complete and 0 interrupted iterations
default [ 44% ] 10/50 VUs 21.9s/50.0s

running (0m24.0s), 10/50 VUs, 887560 complete and 0 interrupted iterations
default [ 46% ] 10/50 VUs 22.9s/50.0s

running (0m25.0s), 10/50 VUs, 934556 complete and 0 interrupted iterations
default [ 48% ] 10/50 VUs 23.9s/50.0s

running (0m26.0s), 10/50 VUs, 980227 complete and 0 interrupted iterations
default [ 50% ] 10/50 VUs 24.9s/50.0s

running (0m27.0s), 10/50 VUs, 1026861 complete and 0 interrupted iterations
default [ 52% ] 10/50 VUs 25.9s/50.0s

running (0m28.0s), 10/50 VUs, 1074762 complete and 0 interrupted iterations
default [ 54% ] 10/50 VUs 26.9s/50.0s

running (0m29.0s), 10/50 VUs, 1121816 complete and 0 interrupted iterations
default [ 56% ] 10/50 VUs 27.9s/50.0s

running (0m30.0s), 10/50 VUs, 1170359 complete and 0 interrupted iterations
default [ 58% ] 10/50 VUs 28.9s/50.0s

running (0m31.0s), 10/50 VUs, 1217966 complete and 0 interrupted iterations
default [ 60% ] 10/50 VUs 29.9s/50.0s

running (0m32.0s), 10/50 VUs, 1262680 complete and 0 interrupted iterations
default [ 62% ] 10/50 VUs 30.9s/50.0s

running (0m33.0s), 10/50 VUs, 1309293 complete and 0 interrupted iterations
default [ 64% ] 10/50 VUs 31.9s/50.0s

running (0m34.0s), 10/50 VUs, 1357903 complete and 0 interrupted iterations
default [ 66% ] 10/50 VUs 32.9s/50.0s

running (0m35.0s), 10/50 VUs, 1401956 complete and 0 interrupted iterations
default [ 68% ] 10/50 VUs 33.9s/50.0s

running (0m36.0s), 10/50 VUs, 1451082 complete and 0 interrupted iterations
default [ 70% ] 10/50 VUs 34.9s/50.0s

running (0m37.0s), 10/50 VUs, 1499992 complete and 0 interrupted iterations
default [ 72% ] 10/50 VUs 35.9s/50.0s

running (0m38.0s), 10/50 VUs, 1546498 complete and 0 interrupted iterations
default [ 74% ] 10/50 VUs 36.9s/50.0s

running (0m39.0s), 10/50 VUs, 1595034 complete and 0 interrupted iterations
default [ 76% ] 10/50 VUs 37.9s/50.0s

running (0m40.0s), 10/50 VUs, 1641921 complete and 0 interrupted iterations
default [ 78% ] 10/50 VUs 38.9s/50.0s

running (0m41.0s), 10/50 VUs, 1688216 complete and 0 interrupted iterations
default [ 80% ] 10/50 VUs 39.9s/50.0s

running (0m42.0s), 13/50 VUs, 1740550 complete and 0 interrupted iterations
default [ 82% ] 13/50 VUs 40.9s/50.0s

running (0m43.0s), 17/50 VUs, 1791858 complete and 0 interrupted iterations
default [ 84% ] 17/50 VUs 41.9s/50.0s

running (0m44.0s), 21/50 VUs, 1845098 complete and 0 interrupted iterations
default [ 86% ] 21/50 VUs 42.9s/50.0s

running (0m45.0s), 25/50 VUs, 1900772 complete and 0 interrupted iterations
default [ 88% ] 25/50 VUs 43.9s/50.0s

running (0m46.0s), 29/50 VUs, 1955939 complete and 0 interrupted iterations
default [ 90% ] 29/50 VUs 44.9s/50.0s

running (0m47.0s), 33/50 VUs, 2006880 complete and 0 interrupted iterations
default [ 92% ] 33/50 VUs 45.9s/50.0s

running (0m48.0s), 37/50 VUs, 2063187 complete and 0 interrupted iterations
default [ 94% ] 37/50 VUs 46.9s/50.0s

running (0m49.0s), 41/50 VUs, 2118077 complete and 0 interrupted iterations
default [ 96% ] 41/50 VUs 47.9s/50.0s

running (0m50.0s), 45/50 VUs, 2174067 complete and 0 interrupted iterations
default [ 98% ] 45/50 VUs 48.9s/50.0s

running (0m51.0s), 49/50 VUs, 2223094 complete and 0 interrupted iterations
default [ 100% ] 49/50 VUs 49.9s/50.0s

running (0m51.1s), 00/50 VUs, 2228861 complete and 0 interrupted iterations
default ✓ [ 100% ] 00/50 VUs 50s

 ✗ IsSucceed
  ↳  0% — ✓ 0 / ✗ 2228861

 █ setup

 █ teardown

 checks...............: 0.00%   ✓ 0            ✗ 2228861
 data_received........: 0 B     0 B/s
 data_sent............: 0 B     0 B/s
 iteration_duration...: min=82.64µs avg=284.11µs   med=154.05µs max=1.05s p(90)=459.21µs p(95)=664.11µs p(99)=2.33ms
 iterations...........: 2228861 43649.882771/s
 latency..............: min=0       avg=0          med=0        max=0     p(90)=0        p(95)=0        p(99)=0
 responseTime.........: min=43      avg=176.200785 med=83       max=77945 p(90)=344      p(95)=533      p(99)=1411
 vus..................: 49      min=0          max=49
 vus_max..............: 50      min=50         max=50

refactor with golang

python is not convenient for offline, would refactor code with golang.

  1. command line
  2. invoke nebula-import and k6 with golang code, not use command line.

check gopath environment

as it would download xk6 in $GOPATH/bin, should check the environment first or use $GOPAH/bin/xk6 directly.

LDBC enhancement

  1. using fixed_string vid, and each tag with a unique id, e.g. Person: 123456 -> p123456 or person123456
  2. split tag. e.g. place splits to 3 tags, city, country, continent
  3. and then change the importer schema

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.