Skip to content

larytet-go/map-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

Demos GC impact on the HTTP server latency.

Usage

GODEBUG=gctrace=1,schedtrace=500 go run .
httperf --server localhost --port 8081 --uri "/query?key=magic"  --num-calls 10000000  --verbose 

In a separate terminal

while [ 1 ];do echo -en "\\033[0;0H";curl http://127.0.0.1:8081/stat;sleep 0.3;done;

Wait a few minutes. See the HTTP serevr stalls for ~4 seconds

My machine

$ go version
go version go1.12.4 linux/amd64

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages