bitcoin-s/bench
Chris Stewart 953142c013 2018 11 21 performance improvements (#249)
* Change ScriptConstant members from def to val

change all stuff in org.bitcoins.script.constant._ to actually be constant , this seems to improve performance from rudimentary bench marks by 2x

* rework RawSerializerHelper.writeCmpctSizeUInt to remove extra loop

* Fix bug where P2WPKHWitnessV0/P2WSHWitnessV0 didn't extend ScritpWitnessV0, add a few optimizations in ScriptWitness
2018-11-23 20:56:19 -05:00
..
src/main 2018 11 21 performance improvements (#249) 2018-11-23 20:56:19 -05:00
README.md Add BlockBench and benchmark README 2018-11-23 08:38:30 -05:00

Benchmark suite

This is a WIP. It currently contains one bench mark for de-serializing large blocks

You can assembly the jar like this

sbt bench/assembly

and then run with

$ java -Xprof -jar bench/target/scala-2.11/bench-assembly-0.0.1-SNAPSHOT.jar > output.txt