Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
phearnot committed Oct 19, 2023
1 parent 664175b commit e2317f3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,23 +22,23 @@ class DataFuncs {
bh.consume(Base64.decode(st.message))

@Benchmark
def decode16_32kb_bcprov(st: StrSt105K, bh: Blackhole): Unit =
def decode16_32kb_bcprov(st: StrSt32K, bh: Blackhole): Unit =
bh.consume(org.bouncycastle.util.encoders.Hex.decode(st.message))

@Benchmark
def decode16_32kb_guava(st: StrSt105K, bh: Blackhole): Unit =
def decode16_32kb_guava(st: StrSt32K, bh: Blackhole): Unit =
bh.consume(com.google.common.io.BaseEncoding.base16.decode(st.message))

@Benchmark
def decode16_32kb_commons_codec(st: StrSt105K, bh: Blackhole): Unit =
def decode16_32kb_commons_codec(st: StrSt32K, bh: Blackhole): Unit =
bh.consume(org.apache.commons.codec.binary.Hex.decodeHex(st.message))

@Benchmark
def decode16_32kb_web3j(st: StrSt105K, bh: Blackhole): Unit =
def decode16_32kb_web3j(st: StrSt32K, bh: Blackhole): Unit =
bh.consume(org.web3j.utils.Numeric.hexStringToByteArray(st.message))

@Benchmark
def decode16_32kb_headlong(st: StrSt105K, bh: Blackhole): Unit =
def decode16_32kb_headlong(st: StrSt32K, bh: Blackhole): Unit =
bh.consume(FastHex.decode(st.message))

@Benchmark
Expand Down Expand Up @@ -191,7 +191,9 @@ object DataFuncs {
@State(Scope.Benchmark)
class StrSt70K extends StrSt(70)
@State(Scope.Benchmark)
class StrSt105K extends StrSt(32)
class StrSt105K extends StrSt(105)
@State(Scope.Benchmark)
class StrSt32K extends StrSt(32)
@State(Scope.Benchmark)
class StrSt140K extends StrSt(140)
@State(Scope.Benchmark)
Expand Down
6 changes: 2 additions & 4 deletions node/src/test/resources/application.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
waves {
utx {
allow-transactions-from-smart-accounts = true
network-tx-cache-size = 20
}
utx.allow-transactions-from-smart-accounts = true
utx-synchronizer.network-tx-cache-size = 20

wallet.password = "some string as password"
}

0 comments on commit e2317f3

Please sign in to comment.