Skip to content
callcount

package

bufio

standard library

27 standard-library functions from bufio, ranked by how often they are called outside tests and generated code.

Docs on pkg.go.dev ↗

prod calls
17,235
non-test, non-generated
all calls
23,642
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,697
Scanner.Text 2,513
NewScanner 2,485
NewReader 1,626
Scanner.Err 1,426
Writer.Flush 874
Reader.ReadString 611
Writer.WriteString 568
NewWriter 497
Writer.Write 486
Scanner.Bytes 392
Reader.Peek 344
NewReaderSize 306
Reader.ReadByte 255
Writer.WriteByte 247
Scanner.Buffer 241
Reader.Read 217
NewWriterSize 191
Reader.Buffered 185
Scanner.Split 168
Reader.Reset 166
Reader.ReadLine 162
Reader.ReadBytes 155
Reader.Discard 117
Writer.Reset 113
Reader.ReadSlice 102
Reader.ReadRune 91