Skip to content

Enhance summary info - #80

Merged
javeme merged 2 commits into
apache:masterfrom
imbaGeek:enhance-summary-info
Jun 20, 2019
Merged

javeme merged 2 commits into
apache:masterfrom
imbaGeek:enhance-summary-info

Conversation

@imbajin

@imbajin imbajin commented Jun 16, 2019 •

Copy link
Copy Markdown
Member
  1. add parserSuccess to comfirm data integrity
  2. add parserSpeed to get performance results directly
  3. record the import speed of each data source in the log for comparison

@codecov

codecov Bot commented Jun 16, 2019 •

Copy link
Copy Markdown

Codecov Report

Merging #80 into master will increase coverage by 0.51%.
The diff coverage is 87.23%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #80      +/-   ##
============================================
+ Coverage      65.3%   65.82%   +0.51%     
- Complexity      320      324       +4     
============================================
  Files            46       46              
  Lines          1542     1583      +41     
  Branches        182      184       +2     
============================================
+ Hits           1007     1042      +35     
- Misses          430      433       +3     
- Partials        105      108       +3
Impacted Files Coverage Δ Complexity Δ
...va/com/baidu/hugegraph/loader/util/LoaderUtil.java 80.85% <100%> (+1.3%) 10 <0> (ø) ⬇️
...m/baidu/hugegraph/loader/executor/LoadSummary.java 93.33% <80%> (-6.67%) 14 <4> (+4)
...va/com/baidu/hugegraph/loader/HugeGraphLoader.java 76.33% <88.23%> (+1.86%) 18 <0> (ø) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update e62a18e...cd31348. Read the comment docs.

@Linary

Linary commented Jun 17, 2019

Copy link
Copy Markdown
Contributor

split into two commits, one is summary info, another is http-connection

@imbajin imbajin changed the title Enhance summary info & add http-connect options Enhance summary info Jun 18, 2019
@imbajin
imbajin force-pushed the enhance-summary-info branch from 43e2581 to d2cb447 Compare June 18, 2019 09:16
try {
Vertex vertex = builder.next();
batch.add(vertex);
this.parseSuccessPerSource++;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

prefer to let loadVertex() return parseSuccessPerSource, and don't define parseSuccessPerSource as field

LoadSummary summary = new LoadSummary("vertices");
Duration duration = Duration.between(beginTime, endTime);
summary.parseFailure(this.parseFailureNum);
summary.parserSuccess(this.parseSuccessNum);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

parserSuccess -> parseSuccess

imbajin added 2 commits June 20, 2019 00:49
1. add parserSuccess to comfirm data integrity
2. add parserSpeed to get performance results directly
3. record the import speed of each data source in the log for comparison
@imbajin
imbajin force-pushed the enhance-summary-info branch from b95c796 to cd31348 Compare June 19, 2019 16:49
@javeme
javeme merged commit 4b198b4 into apache:master Jun 20, 2019
@imbajin
imbajin deleted the enhance-summary-info branch June 21, 2019 02:44
imbajin pushed a commit that referenced this pull request Apr 14, 2022
Change-Id: I29cb85a9e1d306afb49c050aab0c0d3a77fdd70d
imbajin pushed a commit that referenced this pull request Apr 14, 2022
Change-Id: I1ae7e37f1c94e17860fb0247ebb58cd8359d004d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants