Skip to content

add comparison of serial and parallel speedup for fig_2_19 #12

Description

@jnorwood

fig_2_19 provided the parallel_do_feeder for the tree handling, but didn't have a comparison with serial time, as in other examples.

I added the speed-up comparison vs serial time. Also balanced the data initialization so half are primes. I'm attaching the modified code.

serial_time == 1.72244 seconds parallel_time == 0.374743 seconds speedup == 4.59634
fig_2_19.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions