Skip to content

Commit 59442d4

Browse files
committed
New benchmarks.
-Run with the new "Hash-Tuple" implementation in Jsonifier.
1 parent abe4ca9 commit 59442d4

File tree

55 files changed

+496517
-622969
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+496517
-622969
lines changed
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Build-and-Test-CLANG-MacOS
2+
3+
on:
4+
workflow_dispatch:
5+
push:
6+
branches:
7+
- main
8+
- dev
9+
10+
jobs:
11+
Build:
12+
runs-on: macos-latest
13+
14+
strategy:
15+
fail-fast: false
16+
matrix:
17+
clang: [19]
18+
build_type: [Debug, Release]
19+
std: [20]
20+
21+
steps:
22+
- uses: actions/checkout@v4
23+
24+
- name: Set up Xcode
25+
run: |
26+
sudo xcode-select -s /Applications/Xcode_15.4.app/Contents/Developer
27+
xcodebuild -version
28+
29+
- name: Configure CMake
30+
run: cmake -B build -G Xcode -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DJSONIFIER_TEST="TRUE"
31+
32+
- name: Build the Test
33+
working-directory: ./Build
34+
run: |
35+
cmake --build . --config=${{matrix.build_type}}
36+
37+
- name: Install the Test
38+
working-directory: ./Build
39+
run: |
40+
sudo cmake --install . --config=${{matrix.build_type}}
41+
42+
- name: Run the Test
43+
working-directory: /usr/local/bin/
44+
run: |
45+
sudo chmod +x ./Json-Performance
46+
./Json-Performance
47+
continue-on-error: true
48+

CMakeLists.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,21 +61,17 @@ target_link_libraries(
6161

6262
target_compile_options(
6363
"Json-Performance" PUBLIC
64+
"$<$<CXX_COMPILER_ID:MSVC>:$<$<STREQUAL:${ASAN_ENABLED},TRUE>:/fsanitize=address>>"
6465
"$<$<CXX_COMPILER_ID:CLANG>:-Wextra>"
65-
"$<$<CXX_COMPILER_ID:MSVC>:/bigobj>"
6666
"$<$<CXX_COMPILER_ID:CLANG>:-Wall>"
6767
"$<$<CXX_COMPILER_ID:GNU>:-Wextra>"
6868
"$<$<CXX_COMPILER_ID:MSVC>:/Wall>"
69-
"$<$<CXX_COMPILER_ID:MSVC>:/EHsc>"
7069
"$<$<CXX_COMPILER_ID:GNU>:-Wall>"
71-
"$<$<CXX_COMPILER_ID:MSVC>:/Zi>"
7270
)
7371

7472
target_link_options(
7573
"Json-Performance" PUBLIC
7674
"$<$<CXX_COMPILER_ID:GNU>:$<$<STREQUAL:${ASAN_ENABLED},TRUE>:-fsanitize=address>>"
77-
"$<$<CXX_COMPILER_ID:MSVC>:/DEBUG>"
78-
"$<$<CXX_COMPILER_ID:MSVC>:/OPT:REF>"
7975
)
8076

8177
if (WIN32)

GenerateGraphs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import pandas as pd
77
import re
88

9-
# Set up command-line argument parsing
109
def parse_args():
1110
parser = argparse.ArgumentParser(description='Process benchmark results from a JSON file.')
1211
parser.add_argument('input_file', type=str, help='Path to the input JSON file')
@@ -61,4 +60,5 @@ def main():
6160

6261
print('Graphs saved successfully in the "Graphs" folder.')
6362

64-
main()
63+
if __name__ == "__main__":
64+
main()
-1.17 KB
Loading
-2.33 KB
Loading
-1013 Bytes
Loading
-83 Bytes
Loading
1.03 KB
Loading
916 Bytes
Loading
-1.11 KB
Loading

0 commit comments

Comments
 (0)