Skip to content

iotamale/java-cpp-benchmark

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Contributors