package
bufio
standard library27 standard-library functions from bufio, ranked by how often they are called outside tests and generated code.
- prod calls
- 17,038
- non-test, non-generated
- all calls
- 22,281
- total callsites
- functions
- 27
- ranked in this snapshot
- origin
- std
- standard-library
members
Functions in bufio
Ranked by production calls. The bar scales each function against the busiest in this package.
| Function | Prod calls |
|---|---|
| Scanner.Scan | 2,687 |
| Scanner.Text | 2,508 |
| NewScanner | 2,491 |
| NewReader | 1,608 |
| Scanner.Err | 1,383 |
| Writer.Flush | 854 |
| Reader.ReadString | 609 |
| Writer.WriteString | 602 |
| NewWriter | 492 |
| Writer.Write | 491 |
| Scanner.Bytes | 385 |
| Reader.Peek | 316 |
| NewReaderSize | 289 |
| Writer.WriteByte | 266 |
| Reader.ReadByte | 245 |
| Scanner.Buffer | 227 |
| Reader.Read | 208 |
| NewWriterSize | 187 |
| Reader.ReadLine | 166 |
| Scanner.Split | 166 |
| Reader.Buffered | 164 |
| Reader.Reset | 153 |
| Reader.ReadBytes | 151 |
| Writer.Reset | 108 |
| Reader.ReadSlice | 97 |
| Reader.Discard | 96 |
| Reader.ReadRune | 89 |