Skip to content
callcount

package

io

standard library

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

Docs on pkg.go.dev ↗

prod calls
60,536
non-test, non-generated
all calls
139,594
total callsites
functions
28
ranked in this snapshot
origin
std
standard-library

members

Functions in io

Ranked by production calls. The bar scales each function against the busiest in this package.

Function Prod calls
Closer.Close 20,222
Writer.Write 12,001
ReadAll 7,757
Copy 4,862
ReadFull 2,883
Reader.Read 2,023
WriteString 1,861
LimitReader 1,596
NopCloser 1,168
Seeker.Seek 916
MultiWriter 605
Pipe 580
CopyN 447
PipeWriter.CloseWithError 409
ReaderAt.ReadAt 405
TeeReader 404
PipeWriter.Close 402
NewSectionReader 364
StringWriter.WriteString 295
MultiReader 265
ByteReader.ReadByte 204
CopyBuffer 174
ByteWriter.WriteByte 148
PipeReader.Close 147
WriterAt.WriteAt 135
ReadAtLeast 90
PipeReader.CloseWithError 90
PipeWriter.Write 83