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

Function Base58Decode

src/bench/base58.cpp:47–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45
46
47static void Base58Decode(benchmark::State& state)
48{
49 const char* addr = "17VZNX1SN5NtKa8UQFxwQbFeFc3iqRYhem";
50 std::vector<unsigned char> vch;
51 while (state.KeepRunning()) {
52 DecodeBase58(addr, vch);
53 }
54}
55
56
57BENCHMARK(Base58Encode, 470 * 1000);

Callers

nothing calls this directly

Calls 2

DecodeBase58Function · 0.85
KeepRunningMethod · 0.80

Tested by

no test coverage detected