Playing with C++17 and performance
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data
src
tests
.clang-format
.clang-tidy
.gitignore
Makefile
README.md
order-book-programming-problem.pdf

README.md

order-book-pricer

Small project to play with C++17 and FlameGraph. See order-book-programming-problem.pdf for the problem definition.

Prerequisites

  • C++17 compiler. Tested with g++ (GCC) 8.1.1 20180531 and clang version 6.0.0 (tags/RELEASE_600/final)
  • perf
  • FlameGraph
  • Developed with Linux: 4.16.13-2-ARCH

Build

Use Makefile from the project root directory. Targets:

  • make - compile the project in release mode. -O2 flag is enabled.
  • make debug - compile the project in debug mode. Optimisations are disabled -O0 and debug symbols are available -g
  • make test - run the tests
  • make perf - generate the FlameGraph (in tests folder)
  • make time - show the runtime timings.

Other implementations

dark_rusty_pool is a Rust implementation by petr-tik