Branch: refs/heads/master
  Home:   https://github.com/conformal/btcwire
  Commit: 4002051a22d914db76fef4cbaff00253665564b9
      
https://github.com/conformal/btcwire/commit/4002051a22d914db76fef4cbaff00253665564b9
  Author: Dave Collins <[email protected]>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M common.go

  Log Message:
  -----------
  Optimize readVarString.

Before:

BenchmarkReadVarStr4     1000000              1698 ns/op
BenchmarkReadVarStr10    1000000              1812 ns/op

After:

BenchmarkReadVarStr4     2000000               853 ns/op
BenchmarkReadVarStr10    5000000               712 ns/op

This is part ef the ongoing effort to optimize serialization as noted in
conformal/btcd#27.


  Commit: fa8f666e8ca2ef9aca035952faab38cfdd5a1fb6
      
https://github.com/conformal/btcwire/commit/fa8f666e8ca2ef9aca035952faab38cfdd5a1fb6
  Author: Dave Collins <[email protected]>
  Date:   2013-11-05 (Tue, 05 Nov 2013)

  Changed paths:
    M bench_test.go

  Log Message:
  -----------
  Add benchmarks for writeVarString.

This commit adds a couple of benchmarks for the writeVarString function.


Compare: 
https://github.com/conformal/btcwire/compare/b830e2ddf3ed...fa8f666e8ca2

Reply via email to