⚠️ All the code present in this repository must be run preferably on a virtual machine as there is a possibility the code can harm the machine!Any how a force reboot should fix it.
To build this project , you CMake , as of yet this may seem like over engineering but this becomes a must to get the program running on multiple platforms , that would solve all our package problems at once.
If on linux there is no need to add external libraries and simply do :
$ git clone https://github.com/NavinShrinivas/perf-test
$ cd perf-test
$ chmod +x install.sh
$ install.sh
$ ./perftool
before executing the above commands make sure cmake is installed in your system
the entire program is fully acessible through commands in the terminal , but also can be used as a menu driven program with
./perftool menu
and how we solved em :
- Multithreading was one of the most major one's , deciding where the controls flow ,etc. , etc.We figured it out mainly by asking people in stack overflows and seeing other multithreaded application.
- Race conditions , due to multiples IO's on a single memory due to multi threading and rapid while loops we ran into the ever infamous race condition problem.Of course our workaround was eventually consistency by using various buffers and adding them up in the end.