package
testing
standard library33 standard-library functions from testing, ranked by how often they are called outside tests and generated code.
- prod calls
- 41,605
- non-test, non-generated
- all calls
- 1,910,669
- total callsites
- functions
- 33
- 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 | 8,169 |
| common.Errorf | 6,568 |
| common.Helper | 6,411 |
| T.Run | 4,861 |
| common.Fatal | 2,538 |
| common.Logf | 2,273 |
| TB.Helper | 1,740 |
| TB.Fatalf | 1,124 |
| common.Cleanup | 992 |
| TB.Fatal | 790 |
| common.Context | 715 |
| common.Error | 686 |
| common.Skip | 534 |
| common.Log | 493 |
| TB.Logf | 493 |
| TB.Errorf | 491 |
| common.TempDir | 358 |
| T.Parallel | 355 |
| common.Name | 338 |
| TB.Cleanup | 334 |
| common.Skipf | 208 |
| TB.Skipf | 140 |
| common.Failed | 116 |
| TB.Name | 104 |
| TB.Skip | 101 |
| Short | 99 |
| common.FailNow | 92 |
| B.Run | 91 |
| TB.Log | 91 |
| TB.TempDir | 77 |
| B.ResetTimer | 76 |
| TB.Context | 75 |
| B.ReportMetric | 72 |