MCPcopy Create free account
hub / github.com/ElementsProject/elements / Bech32Decode

Function Bech32Decode

src/bench/bech32.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24
25
26static void Bech32Decode(benchmark::Bench& bench)
27{
28 std::string addr = "bc1qkallence7tjawwvy0dwt4twc62qjgaw8f4vlhyd006d99f09";
29 bench.batch(addr.size()).unit("byte").run([&] {
30 bech32::Decode(addr);
31 });
32}
33
34
35BENCHMARK(Bech32Encode);

Callers

nothing calls this directly

Calls 4

DecodeFunction · 0.50
runMethod · 0.45
batchMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected