Add reddit contract owner details in config/mumbai/reddit/reddit-accounts.json file
[{"address": "", "priv_key": "","pub_key": "0x"}]
Add faucet account details in config/mumbai/matic-faucet.json file
{"address": "", "priv_key": "","pub_key": "0x"}
Run Benchmark
- Run on mumbai test network of matic
Initialize(If not initialized already) - go test -timeout 20m -network mumbai -bench=Benchmark/Reddit/Initialize --benchtime 1ns
Claim - go test -timeout 40m -network mumbai -bench=Benchmark/Reddit/Claim --benchtime 1ns > claims.txt
Subcribe - go test -timeout 40m -network mumbai -bench=Benchmark/Reddit/Subscribe --benchtime 1ns > subscribe.txt
Transfer - go test -timeout 40m -network mumbai -bench=Benchmark/Reddit/Transfer --benchtime 1ns > transfer.txt
Note... Change timeout flag incase of more time required.
Logs... You can find the logs in respective txt files.(claims.txt, transfer.txt,subscribe.txt)