schedissue

command module
v0.0.0-...-40829f3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

schedissue illustrates an apparent defect in Go's runtime where on a multi-core machine, as little as one goroutine doing CPU intensive work can block other goroutines from executing.

It first starts a configurable number of goroutines which are making periodic HTTP requests, then sleeps for a 4 seconds in order to allow a few requests to execute. It then launches a configurable number of 'worker' goroutines which are generating and XORing random numbers together in a tight loop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL