https://github.com/massimo-marino/perf-timer
A performance timer for C++ functions
https://github.com/massimo-marino/perf-timer
cpp cpp17 performance performance-testing
Last synced: about 1 year ago
JSON representation
A performance timer for C++ functions
- Host: GitHub
- URL: https://github.com/massimo-marino/perf-timer
- Owner: massimo-marino
- License: mit
- Created: 2023-05-19T10:53:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-05-19T11:03:16.000Z (about 3 years ago)
- Last Synced: 2025-02-16T23:28:00.700Z (over 1 year ago)
- Topics: cpp, cpp17, performance, performance-testing
- Language: C++
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# perf-timer
C++17 implementation of a simple performance timer for functions.
## Requirements
`cmake 3.26.3` is used to compile the sources.
The cmake files compile with `-std=c++17`.
## Run the Example
```bash
$ git clone https://github.com:massimo-marino/perf-timer.git
$ cd perf-timer/example
$ mkdir build
$ cd build
$ cmake ..
$ make
$ ./perf-timer-example
```
## How to Use it
See the source code in the example.