Skip to content

Commit a6033e7

Browse files
committed
implement various performance optimizations
1 parent d2f8843 commit a6033e7

File tree

6 files changed

+157
-74
lines changed

6 files changed

+157
-74
lines changed

.github/workflows/sanitizers.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
env:
2626
ASAN_OPTIONS: check_initialization_order=1:strict_init_order=1:detect_stack_use_after_return=1:detect_leaks=1:detect_invalid_pointer_pairs=2
2727
UBSAN_OPTIONS: print_stacktrace=1:print_summary=1
28-
28+
2929
defaults:
3030
run:
3131
working-directory: ${{ github.workspace }}/build
@@ -41,13 +41,15 @@ jobs:
4141
run: apt update && apt install --allow-downgrades -y git cmake ${{ matrix.compiler.pkgs }}
4242

4343
- name: setup-catch
44-
run: bash ./install_catch.sh -DCMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }}
44+
env:
45+
CXX: ${{ matrix.compiler.cxx }}
46+
run: bash ../tools/install_catch.sh Release
4547

4648
- name: setup-build
47-
run: cmake .. -DCMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }} -DCMAKE_CXX_FLAGS="-fsanitize=${{ matrix.sanitizer }} -g -fno-omit-frame-pointer"
49+
run: cmake .. -DCMAKE_CXX_COMPILER=${{ matrix.compiler.cxx }} -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS="-fsanitize=${{ matrix.sanitizer }} -g -fno-omit-frame-pointer"
4850

4951
- name: build
5052
run: cmake --build .
51-
53+
5254
- name: run-tests
53-
run: ctest --output-on-failure --schedule-random
55+
run: ctest --output-on-failure --schedule-random

.gitignore

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,4 @@
55
.vs/
66
*.hint
77

8-
# Build results
9-
out/
10-
build/*
11-
!build/*.sh
12-
*.exe
13-
148
.cache/

build/.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
*
2+
!.gitignore

0 commit comments

Comments
 (0)