1. 14 Oct, 2016 3 commits
    • Felix Lange's avatar
      trie, core/state: improve memory usage and performance (#3135) · 40cdcf11
      Felix Lange authored
      * trie: store nodes as pointers
      
      This avoids memory copies when unwrapping node interface values.
      
      name      old time/op  new time/op  delta
      Get        388ns ± 8%   215ns ± 2%  -44.56%  (p=0.000 n=15+15)
      GetDB      363ns ± 3%   202ns ± 2%  -44.21%  (p=0.000 n=15+15)
      UpdateBE  1.57µs ± 2%  1.29µs ± 3%  -17.80%  (p=0.000 n=13+15)
      UpdateLE  1.92µs ± 2%  1.61µs ± 2%  -16.25%  (p=0.000 n=14+14)
      HashBE    2.16µs ± 6%  2.18µs ± 6%     ~     (p=0.436 n=15+15)
      HashLE    7.43µs ± 3%  7.21µs ± 3%   -2.96%  (p=0.000 n=15+13)
      
      * trie: close temporary databases in GetDB benchmark
      
      * trie: don't keep []byte from DB load around
      
      Nodes decoded from a DB load kept hashes and values as sub-slices of
      the DB value. This can be a problem because loading from leveldb often
      returns []byte with a cap that's larger than necessary, increasing
      memory usage.
      
      * trie: unload old cached nodes
      
      * trie, core/state: use cache unloading for account trie
      
      * trie: use explicit private flags (fixes Go 1.5 reflection issue).
      
      * trie: fixup cachegen overflow at request of nick
      
      * core/state: rename journal size constant
      40cdcf11
    • Péter Szilágyi's avatar
      Merge pull request #3136 from Arachnid/expvar · c2ddfb34
      Péter Szilágyi authored
      metrics, internal/debug: Add --pprofaddr flag, expose metrics via gexp
      c2ddfb34
    • Nick Johnson's avatar
  2. 13 Oct, 2016 3 commits
  3. 12 Oct, 2016 1 commit
  4. 10 Oct, 2016 5 commits
  5. 07 Oct, 2016 2 commits
  6. 06 Oct, 2016 8 commits
  7. 05 Oct, 2016 5 commits
  8. 03 Oct, 2016 7 commits
  9. 02 Oct, 2016 2 commits
    • Péter Szilágyi's avatar
      Merge pull request #3066 from fjl/build-env · d4b55fc5
      Péter Szilágyi authored
      build: improve debian packaging
      d4b55fc5
    • Felix Lange's avatar
      build: improve debian packaging · 4f762797
      Felix Lange authored
      This commit tweaks the debian packaging tool:
      
      * All build environment metadata can now be overriden on the command
        line. This allows testing the CI build behaviour locally.
      * -unstable packages now actually contain the binaries (oops)
      * packages use Go 1.7 to build
      * archiving is skipped for PR builds
      4f762797
  10. 01 Oct, 2016 4 commits