package
flag
standard library40 standard-library functions from flag, ranked by how often they are called outside tests and generated code.
- prod calls
- 26,396
- non-test, non-generated
- all calls
- 31,069
- total callsites
- functions
- 40
- 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,501 |
| FlagSet.StringVar | 2,827 |
| FlagSet.BoolVar | 2,283 |
| Bool | 1,927 |
| Parse | 1,802 |
| StringVar | 1,658 |
| FlagSet.IntVar | 988 |
| FlagSet.Parse | 972 |
| FlagSet.String | 952 |
| BoolVar | 890 |
| Int | 885 |
| FlagSet.DurationVar | 866 |
| FlagSet.Var | 845 |
| NewFlagSet | 826 |
| FlagSet.Args | 529 |
| FlagSet.Bool | 509 |
| Args | 482 |
| Duration | 365 |
| Arg | 313 |
| IntVar | 307 |
| Var | 268 |
| PrintDefaults | 243 |
| NArg | 201 |
| FlagSet.Output | 175 |
| FlagSet.Lookup | 169 |
| FlagSet.Int | 165 |
| FlagSet.SetOutput | 150 |
| Value.String | 134 |
| Lookup | 130 |
| Set | 123 |
| DurationVar | 113 |
| FlagSet.Float64Var | 102 |
| FlagSet.NArg | 100 |
| FlagSet.VisitAll | 95 |
| FlagSet.Duration | 93 |
| FlagSet.Int64Var | 90 |
| FlagSet.Set | 89 |
| FlagSet.PrintDefaults | 80 |
| FlagSet.Arg | 80 |
| FlagSet.Visit | 69 |