package
flag
standard library41 standard-library functions from flag, ranked by how often they are called outside tests and generated code.
- prod calls
- 26,529
- non-test, non-generated
- all calls
- 31,273
- 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,519 |
| FlagSet.StringVar | 2,831 |
| FlagSet.BoolVar | 2,289 |
| Bool | 1,929 |
| Parse | 1,806 |
| StringVar | 1,664 |
| FlagSet.IntVar | 988 |
| FlagSet.Parse | 973 |
| FlagSet.String | 952 |
| BoolVar | 892 |
| Int | 889 |
| FlagSet.DurationVar | 866 |
| FlagSet.Var | 845 |
| NewFlagSet | 827 |
| FlagSet.Args | 529 |
| FlagSet.Bool | 509 |
| Args | 484 |
| Duration | 366 |
| Arg | 313 |
| IntVar | 310 |
| Var | 268 |
| PrintDefaults | 243 |
| NArg | 202 |
| FlagSet.Output | 175 |
| FlagSet.Lookup | 174 |
| FlagSet.Int | 165 |
| FlagSet.SetOutput | 151 |
| Value.String | 136 |
| Lookup | 130 |
| Set | 123 |
| DurationVar | 113 |
| FlagSet.Float64Var | 102 |
| FlagSet.NArg | 101 |
| FlagSet.VisitAll | 95 |
| FlagSet.Duration | 93 |
| FlagSet.Int64Var | 90 |
| FlagSet.Set | 89 |
| FlagSet.Arg | 81 |
| FlagSet.PrintDefaults | 80 |
| FlagSet.Visit | 69 |
| Value.Set | 68 |