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,733
non-test, non-generated
all calls
143,094
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,736
Writer.Write 11,803
ReadAll 7,529
Copy 4,793
ReadFull 2,738
WriteString 2,598
Reader.Read 1,979
LimitReader 1,337
NopCloser 1,133
Seeker.Seek 891
MultiWriter 595
Pipe 580
CopyN 414
PipeWriter.Close 406
PipeWriter.CloseWithError 401
TeeReader 390
ReaderAt.ReadAt 386
NewSectionReader 346
StringWriter.WriteString 297
MultiReader 249
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