ch08ex05

command
v0.0.0-...-4489971 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2024 License: MIT Imports: 7 Imported by: 0

README

Chapter 08, exercise 5

Timing as a function of the number of goroutines, for an image of 5000 by 5000 pixels:

Goroutines Time
1 0m6.941s
2 0m4.517s
4 0m3.772s
8 0m3.756s
16 0m3.741s
32 0m3.752s
64 0m3.741s
128 0m3.729s
256 0m3.731s
512 0m3.718s
1024 0m3.723s

Time over goroutines

Documentation

Overview

Ch08ex05 is a concurrent version of the Mandelbrot program from Chapter 3.3. Usage:

ch08ex05 [-P NPROC]

where NPROC is the number of goroutines to be used.

Jump to

Keyboard shortcuts

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