58
edits
Changes
→Result
The data used in the implementation is a '''4096x4096''' matrix
{| <!-- The nested table must be on a new line -->
| style="border: 2px" |
{| class="wikitable"
|+ Performance difference in Go & Java
|-
! !! Go !! Java
|-
| Main thread|| 84.66 s|| 171.76 s
|-
| 1 thread|| 84.28 s || 169.51 s
|-
| 2 thread|| 37.08 s|| 73.04 s
|-
| 4 thread|| 19.2 s || 34.91 s
|-
| 8 thread|| 11.41 s|| 17.63 s
|-
| 16 thread|| 14.38 s|| 16.08 s
|}
| style="padding: 15px;" |
[[File:Parallel Programming in Go & Java.png|400px]]
|}
[[File:Parallel Programming in Go & Java.png|400px]]