32
edits
Changes
→Example
Based on results the single thread solution runs faster then the multi thread. But why?
The reason for this is the synchronization and cache invaliadtion invalidation overheads cause the slower execution time for the multi-threaded solution. Despite the execution being split between 2 threads. Although if the number of iterations is increased. At some point running the solution in serial will [[File:False Analyzing Test 2.PNG]]
== Sources ==