Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RunCmd = &cli.Command{ Name: "run", Description: "provides a set of CIDs to the IPFS DHT and measures the time of requesting them concurrently", Action: ConcurrentLookupBenchmark, Flags: []cli.Flag{ &cli.IntFlag{ Name: "lookups", DefaultText: "number of lookups we want to execute concurrently", Required: true, Destination: &concurrentLookups, }, &cli.IntFlag{ Name: "jobs", DefaultText: "number of jobs we want to execute in the benchmarks", Required: true, Destination: &lookupJobs, }, &cli.StringFlag{ Name: "output", DefaultText: "path to the folder where the results will be written", Required: false, Destination: &outputPath, }, }, }
Functions ¶
func ConcurrentLookupBenchmark ¶
func ConcurrentLookupBenchmark(ctx *cli.Context) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.