package
testing
standard library31 standard-library functions from testing, ranked by how often they are called outside tests and generated code.
- prod calls
- 31,921
- non-test, non-generated
- all calls
- 1,498,859
- total callsites
- functions
- 31
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in testing
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| common.Fatalf | 5,176 |
| common.Errorf | 4,149 |
| common.Helper | 4,133 |
| T.Run | 4,097 |
| common.Fatal | 2,366 |
| common.Logf | 2,255 |
| TB.Helper | 1,658 |
| TB.Fatalf | 1,134 |
| TB.Fatal | 774 |
| common.Cleanup | 707 |
| common.Error | 612 |
| TB.Logf | 577 |
| common.Log | 501 |
| common.Context | 488 |
| TB.Errorf | 436 |
| common.Skip | 384 |
| T.Parallel | 360 |
| TB.Cleanup | 330 |
| common.TempDir | 312 |
| common.Name | 311 |
| common.Skipf | 184 |
| TB.Skipf | 137 |
| TB.Name | 110 |
| common.Failed | 109 |
| TB.Log | 101 |
| TB.Skip | 100 |
| Short | 94 |
| common.FailNow | 92 |
| B.Run | 84 |
| TB.TempDir | 78 |
| B.ResetTimer | 72 |