apache / incubator-hugegraph-commons

(Archived Warning)Please visit "apache/hugegraph" repo instead
https://github.com/apache/hugegraph/tree/master/hugegraph-commons
Apache License 2.0
29 stars 45 forks source link

improve profile performance #69

Closed javeme closed 3 years ago

javeme commented 3 years ago

after this commit, optimization is supported through the following ways:

also add features:

Change-Id: Id1ae075ddffec77b95b31142d7ebcdae87371943

codecov[bot] commented 3 years ago

Codecov Report

Merging #69 (24261ea) into master (265f74b) will increase coverage by 2.99%. The diff coverage is 92.18%.

Impacted file tree graph

@@             Coverage Diff              @@
##             master      #69      +/-   ##
============================================
+ Coverage     85.08%   88.07%   +2.99%     
- Complexity      793      942     +149     
============================================
  Files            61       63       +2     
  Lines          2299     2809     +510     
  Branches        341      427      +86     
============================================
+ Hits           1956     2474     +518     
+ Misses          192      181      -11     
- Partials        151      154       +3     
Impacted Files Coverage Δ Complexity Δ
...main/java/com/baidu/hugegraph/testutil/Assert.java 98.33% <ø> (ø) 26.00 <0.00> (ø)
...c/main/java/com/baidu/hugegraph/perf/PerfUtil.java 92.69% <90.72%> (+0.67%) 74.00 <42.00> (+39.00)
.../java/com/baidu/hugegraph/perf/LightStopwatch.java 91.07% <91.07%> (ø) 26.00 <26.00> (?)
.../main/java/com/baidu/hugegraph/perf/Stopwatch.java 92.85% <92.68%> (+7.14%) 4.00 <4.00> (-16.00) :arrow_up:
...java/com/baidu/hugegraph/perf/NormalStopwatch.java 94.53% <94.53%> (ø) 42.00 <42.00> (?)
.../java/com/baidu/hugegraph/util/ReflectionUtil.java 95.55% <100.00%> (+1.11%) 22.00 <4.00> (+3.00)
.../main/java/com/baidu/hugegraph/event/EventHub.java 81.94% <0.00%> (+1.38%) 27.00% <0.00%> (+1.00%)
... and 9 more

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 265f74b...24261ea. Read the comment docs.