package
flag
standard library40 standard-library functions from flag, ranked by how often they are called outside tests and generated code.
- prod calls
- 26,800
- non-test, non-generated
- all calls
- 31,781
- 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,657 |
| FlagSet.StringVar | 2,850 |
| FlagSet.BoolVar | 2,257 |
| Bool | 1,981 |
| Parse | 1,834 |
| StringVar | 1,677 |
| FlagSet.IntVar | 1,009 |
| FlagSet.String | 982 |
| FlagSet.Parse | 959 |
| Int | 912 |
| BoolVar | 883 |
| FlagSet.DurationVar | 868 |
| FlagSet.Var | 851 |
| NewFlagSet | 837 |
| FlagSet.Bool | 523 |
| FlagSet.Args | 498 |
| Args | 489 |
| Duration | 370 |
| IntVar | 319 |
| Arg | 316 |
| Var | 262 |
| PrintDefaults | 246 |
| NArg | 208 |
| FlagSet.Output | 180 |
| FlagSet.Int | 169 |
| FlagSet.SetOutput | 163 |
| FlagSet.Lookup | 161 |
| Value.String | 139 |
| Lookup | 133 |
| Set | 117 |
| DurationVar | 114 |
| FlagSet.NArg | 106 |
| FlagSet.Float64Var | 106 |
| FlagSet.VisitAll | 97 |
| FlagSet.Set | 94 |
| FlagSet.Duration | 94 |
| FlagSet.Int64Var | 93 |
| FlagSet.Arg | 86 |
| FlagSet.PrintDefaults | 83 |
| FlagSet.Visit | 77 |