bench: add spdlog mt benchmark #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Copyright (c) Borislav Stanimirov | |
| # SPDX-License-Identifier: MIT | |
| # | |
| name: Benchmark | |
| on: | |
| push: | |
| branches: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| benchmark: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| steps: | |
| - name: Clone | |
| uses: actions/checkout@v4 | |
| - name: Install Ninja | |
| uses: seanmiddleditch/gha-setup-ninja@v5 | |
| - name: Configure | |
| run: cmake --preset release -B build | |
| - name: Benchmark jalog log types | |
| run: cmake --build build --target run-bench-jalog-log-types | |
| - name: Benchmark jalog vs spdlog | |
| run: cmake --build build --target run-bench-jalog-vs-spdlog |