Table of Contents

Benchmarking

Task assignment

Your task is to measure time performance of three different implementations of matrix multiplication and compare them:

  1. Standard multiplication
  2. Multiplication with the second matrix transposed before the multiplication
  3. Multiplication of the matrices in 1D representation

You probably need to do the following steps:

  1. Download the program from git repository: git clone https://gitlab.fel.cvut.cz/cuchymar/benchmarking.git
  2. Open the source code in IDE
  3. Run the program (cz.esw.benchmark.Main class)
  4. Do the measurements on each of the implementations of the matrix multiplication
    1. Determine a warm-up period for each implementation
    2. Measure a time performance for each implementation and compute the average performance and 95% confidence interval of the measurements (Section 9.3)
    3. Compute comparison ratios of the implementations and 95% confidence intervals of the ratios (Section 10.1)
  5. Upload a report with the results to the upload system

You can make any changes in the Main class to perform the measurements but you are not allowed to modify the MatrixUtils class.

Report structure

The report should include the following parts:

Report templates: benchmark_template.doc, LaTeX template

Materials

Benchmarking