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
16,998
non-test, non-generated
all calls
22,205
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,682
Scanner.Text 2,505
NewScanner 2,486
NewReader 1,604
Scanner.Err 1,380
Writer.Flush 853
Reader.ReadString 608
Writer.WriteString 602
NewWriter 492
Writer.Write 490
Scanner.Bytes 383
Reader.Peek 312
NewReaderSize 285
Writer.WriteByte 266
Reader.ReadByte 242
Scanner.Buffer 226
Reader.Read 205
NewWriterSize 187
Reader.ReadLine 166
Scanner.Split 166
Reader.Buffered 163
Reader.Reset 152
Reader.ReadBytes 150
Writer.Reset 107
Reader.Discard 100
Reader.ReadSlice 97
Reader.ReadRune 89