Skip to content
callcount

package

io

standard library

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

Docs on pkg.go.dev ↗

prod calls
59,248
non-test, non-generated
all calls
148,045
total callsites
functions
29
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 19,615
Writer.Write 11,482
ReadAll 7,591
Copy 4,786
ReadFull 2,731
WriteString 2,599
Reader.Read 1,937
LimitReader 1,305
NopCloser 1,128
Seeker.Seek 889
MultiWriter 594
Pipe 580
CopyN 413
PipeWriter.Close 404
PipeWriter.CloseWithError 401
TeeReader 389
ReaderAt.ReadAt 386
NewSectionReader 344
StringWriter.WriteString 297
MultiReader 245
ByteReader.ReadByte 205
CopyBuffer 171
PipeReader.Close 149
ByteWriter.WriteByte 147
WriterAt.WriteAt 131
ReadAtLeast 90
PipeReader.CloseWithError 88
PipeWriter.Write 84
WriterTo.WriteTo 67