-
Notifications
You must be signed in to change notification settings - Fork 0
/
brute-force-4-processes
52 lines (30 loc) · 1.08 KB
/
brute-force-4-processes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
16 elements
Inner product method
The time taken for multiplication is 1 milliseconds
Inner product method with processes
The time taken for multiplication is 5 milliseconds
64 elements
Inner product method
The time taken for multiplication is 55 milliseconds
Inner product method with processes
The time taken for multiplication is 36 milliseconds
256 elements
Inner product method
The time taken for multiplication is 3748 milliseconds
Inner product method with processes
The time taken for multiplication is 2005 milliseconds
512 elements
Inner product method
The time taken for multiplication is 38021 milliseconds
Inner product method with processes
The time taken for multiplication is 19351 milliseconds
1024 elements
Inner product method
The time taken for multiplication is 333853 milliseconds
Inner product method with processes
The time taken for multiplication is 163115 milliseconds
2048 elements
Inner product method
The time taken for multiplication is 2568796 milliseconds
Inner product method with processes
The time taken for multiplication is 1400120 milliseconds