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

  Changed paths:
    M msgtx.go

  Log Message:
  -----------
  Optimize writeTxIn.

Before: BenchmarkWriteTxIn       5000000               422 ns/op
After:  BenchmarkWriteTxIn       5000000               389 ns/op

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


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

  Changed paths:
    M bench_test.go

  Log Message:
  -----------
  Add benchmarks for transaction Serialize.

This commit adds a benchmark for the MsgTx.BtcEncode/Serialize functions.


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

  Changed paths:
    M msgtx.go

  Log Message:
  -----------
  Optimize transaction Serialize.

The benchmark results for the current commit:

Before: BenchmarkSerializeTx     1000000              1233 ns/op
After:  BenchmarkSerializeTx     1000000              1083 ns/op

The cumulative benchmark results since commit 
b7b700fd5aebb86addc93efecaa367a2f4976058:

Before: BenchmarkSerializeTx     1000000              5437 ns/op
After:  BenchmarkSerializeTx     1000000              1083 ns/op

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


Compare: 
https://github.com/conformal/btcwire/compare/63cc0851e5be...a81e081cc489

Reply via email to