MCPcopy Create free account
hub / github.com/BTCGPU/BTCGPU / Bech32Decode

Function Bech32Decode

src/bench/bech32.cpp:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25
26
27static void Bech32Decode(benchmark::State& state)
28{
29 std::string addr = "bc1qkallence7tjawwvy0dwt4twc62qjgaw8f4vlhyd006d99f09";
30 while (state.KeepRunning()) {
31 bech32::Decode(addr);
32 }
33}
34
35
36BENCHMARK(Bech32Encode, 800 * 1000);

Callers

nothing calls this directly

Calls 2

DecodeFunction · 0.85
KeepRunningMethod · 0.80

Tested by

no test coverage detected