Multithreading VBA Compare v10
-
Upload
adolfo-damaceno -
Category
Documents
-
view
218 -
download
4
Transcript of Multithreading VBA Compare v10
![Page 1: Multithreading VBA Compare v10](https://reader035.fdocuments.us/reader035/viewer/2022071709/563dbb37550346aa9aab3cc6/html5/thumbnails/1.jpg)
Threads Threads Vbscript parallel t VBA parallel via Vbscript94.90 195.72 296.29 397.63 4 80.89 7.77
0
20
40
60
80
100
80.89
14.467.77
2.23 1.00
Vbscript parallel time Linear (Vbscript parallel time) VBA time
Seco
nds
![Page 2: Multithreading VBA Compare v10](https://reader035.fdocuments.us/reader035/viewer/2022071709/563dbb37550346aa9aab3cc6/html5/thumbnails/2.jpg)
VBA time C# seq. time C# parallel time 2200014.46 2.23 1.00
0
20
40
60
80
100
80.89
14.467.77
2.23 1.00
Vbscript parallel time Linear (Vbscript parallel time) VBA time
Seco
nds
![Page 3: Multithreading VBA Compare v10](https://reader035.fdocuments.us/reader035/viewer/2022071709/563dbb37550346aa9aab3cc6/html5/thumbnails/3.jpg)
Divisions Vbscript parallel time (4 VBA time VBA parallel via Vbscript (4 C# seq. time C# parallel time4mln 0.11 3.06 0.09 0.0216mln 0.53 2.29 0.06 0.0536mln 1.08 2.75 0.17 0.0864mln 1.93 2.82 0.27 0.14100mln 2.95 3.14 0.44 0.22144mln 4.15 3.8 0.96 0.3196mln 5.69 4.14 0.86 0.41256mln 7.6 4.71 1.42 0.55324mln 10.13 5.96 1.59 0.69400mln 11.87 6.13 1.73 0.84484mln576mln676mln784mln900mln
4mln 16mln 36mln 64mln 100mln 144mln 196mln 256mln 324mln 400mln0
2
4
6
8
10
12
14
Vbscript parallel time (4 threads) VBA time VBA parallel via Vbscript (4 threads) C# seq. timeC# parallel time
Seco
nds
Number of division operations
Seco
nds
Number of division operations
![Page 4: Multithreading VBA Compare v10](https://reader035.fdocuments.us/reader035/viewer/2022071709/563dbb37550346aa9aab3cc6/html5/thumbnails/4.jpg)
4mln 16mln 36mln 64mln 100mln 144mln 196mln 256mln 324mln 400mln0
2
4
6
8
10
12
14
Vbscript parallel time (4 threads) VBA time VBA parallel via Vbscript (4 threads) C# seq. timeC# parallel time
Seco
nds
Number of division operations
Seco
nds
Number of division operations 4mln16mln
36mln64mln
100mln
144mln
196mln
256mln
324mln
400mln
484mln
576mln
676mln
784mln
900mln0
2
4
6
8
10
12
14
VBA time VBA parallel via Vbscript (4 threads) C# seq. time C# parallel time
Seco
nds
Number of division operations
![Page 5: Multithreading VBA Compare v10](https://reader035.fdocuments.us/reader035/viewer/2022071709/563dbb37550346aa9aab3cc6/html5/thumbnails/5.jpg)
4mln16mln
36mln64mln
100mln
144mln
196mln
256mln
324mln
400mln
484mln
576mln
676mln
784mln
900mln0
2
4
6
8
10
12
14
VBA time VBA parallel via Vbscript (4 threads) C# seq. time C# parallel time
Seco
nds
Number of division operations