command
Version:
v0.0.0-...-4489971
Opens a new window with list of versions in this module.
Published: Apr 5, 2024
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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 |
Documentation
¶
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.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.