Skip to content

mixx99/Tibonacci

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tibonacci

A high-performance C++ library for calculating Fibonacci numbers using multithreading.

Building

The building is pretty simple, you should just clone or download this repo and build with CMake:

cmake -B build
cmake --build build

And you can run the program with --help to see all avalible parameters.

Tests

This project includes a tests directory containing custom test implementations to verify the correctness of Fibonacci number calculations. The test suite consists of two main components: benchmarking tests and accuracy validation tests.

For example on my machine benchmark looks like this:

benchmarking image

And calculating tests:

calculating tests image

But the results are not accurate enough because its running on my local machine.

To get more accurate result and to see all the size of performance we can use C++ Quick Bench a standardized benchmarking platform. Our tests reveal interesting scaling characteristics and we will get more accurate results:

quickbench image Link to this result

The Quick Bench results clearly demonstrate how computational performance scales with additional threads.

P.S Fibonacci + Threads = Tibonacci

About

Library for calculating Fibonacci numbers using multithreading

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published