package
flag
standard library41 standard-library functions from flag, ranked by how often they are called outside tests and generated code.
- prod calls
- 26,707
- non-test, non-generated
- all calls
- 31,442
- total callsites
- functions
- 41
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in flag
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| String | 3,568 |
| FlagSet.StringVar | 2,935 |
| FlagSet.BoolVar | 2,407 |
| Bool | 1,982 |
| Parse | 1,821 |
| StringVar | 1,653 |
| FlagSet.IntVar | 1,000 |
| FlagSet.Parse | 950 |
| Int | 900 |
| BoolVar | 879 |
| FlagSet.String | 878 |
| FlagSet.DurationVar | 876 |
| FlagSet.Var | 846 |
| NewFlagSet | 817 |
| FlagSet.Args | 525 |
| Args | 486 |
| FlagSet.Bool | 479 |
| Duration | 375 |
| Arg | 323 |
| IntVar | 305 |
| Var | 273 |
| PrintDefaults | 246 |
| NArg | 203 |
| FlagSet.Output | 178 |
| FlagSet.Lookup | 174 |
| FlagSet.Int | 155 |
| FlagSet.SetOutput | 145 |
| Value.String | 137 |
| Lookup | 125 |
| Set | 122 |
| DurationVar | 107 |
| FlagSet.Float64Var | 102 |
| FlagSet.VisitAll | 99 |
| FlagSet.Duration | 90 |
| FlagSet.Int64Var | 90 |
| FlagSet.Set | 89 |
| FlagSet.NArg | 83 |
| FlagSet.PrintDefaults | 80 |
| FlagSet.Visit | 72 |
| Value.Set | 68 |
| FlagSet.Arg | 64 |