larryhastings / gilectomy

Gilectomy branch of CPython. Use "gilectomy" branch in git. Read the important, short README below!
Other
527 stars 43 forks source link

Benchmarking is currently invalid. Use division of work, not work duplication. #48

Open joshring opened 7 years ago

joshring commented 7 years ago

The benchmark is a FIB sequence, duplicating this work over many cores even with 100% efficiency will never yield any speedup.

Work division is needed to see a speedup, I propose a simple, valid benchmark:

The good news is that if work duplication is currently a similar speed to single threaded code, division of work will already be faster.