Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 341 Bytes

File metadata and controls

12 lines (7 loc) · 341 Bytes

Java vs C++ Performance Benchmark

A CPU performance benchmark comparing Java and C++ using O(n^3) matrix multiplication.

The C++ implementation uses a flat, 1D std::vector to simulate a 2D matrix.

How to run?

  1. chmod +x benchmark.sh
  2. ./benchmark.sh

You can also run ./benchmark.sh --skip-xint to skip java -Xint tests.