getamis / eth-indexer

An Ethereum project to crawl blockchain states into database
GNU Lesser General Public License v3.0
233 stars 47 forks source link

Reduce mem usage #71

Closed countvonzero closed 6 years ago

countvonzero commented 6 years ago

reduce memory usage by 1/2 in the following situation

codecov-io commented 6 years ago

Codecov Report

Merging #71 into develop will increase coverage by 0.2%. The diff coverage is 56.66%.

Impacted file tree graph

@@            Coverage Diff             @@
##           develop      #71     +/-   ##
==========================================
+ Coverage    42.94%   43.14%   +0.2%     
==========================================
  Files           22       22             
  Lines         2112     2102     -10     
==========================================
  Hits           907      907             
+ Misses        1130     1120     -10     
  Partials        75       75
Impacted Files Coverage Δ
client/balancer.go 0% <0%> (ø) :arrow_up:
store/transfer_processor.go 75.66% <78.57%> (ø) :arrow_up:
store/new_erc20.go 72.61% <85.71%> (ø) :arrow_up:

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 39bf0ee...bf07ce2. Read the comment docs.