First, we measure the execution time of the base algorithm using the function void BaseAlgorithm(string inputFile, string outputFile).
Next, we track the execution time for different optimization approaches:
- parallelization on a multi-core processor with void ParallelAlgorithm(string inputFile, string outputFile)
- cache optimization with void CacheAlgorithm(string inputFile, string outputFile)
- combination of parallelism and cache optimization with void ParallelCacheAlgorithm(string inputFile, string outputFile)
Comparison results are documented in the final report.xlsx