Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add comparison of serial and parallel speedup for fig_2_19 #12

Open
jnorwood opened this issue Sep 9, 2020 · 0 comments
Open

add comparison of serial and parallel speedup for fig_2_19 #12

jnorwood opened this issue Sep 9, 2020 · 0 comments

Comments

@jnorwood
Copy link

jnorwood commented Sep 9, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant