Skip to content

Commit 0bda6f6

Browse files
committed
Updating. [skip ci]
1 parent 018948c commit 0bda6f6

File tree

559 files changed

+2658207
-2089580
lines changed

Some content is hidden

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

559 files changed

+2658207
-2089580
lines changed

.github/workflows/Benchmark.yml

Lines changed: 54 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7+
- main
78
- benchmarking
89

910
jobs:
@@ -56,12 +57,12 @@ jobs:
5657
run: |
5758
git config --global user.email "[email protected]"
5859
git config --global user.name "RealTimeChris"
59-
git checkout -b temp-branch-msvc-windows
60+
git checkout -b temp-msvc-windows
6061
git add .
6162
git commit -m "Updates - MSVC-Windows"
62-
git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-branch-msvc-windows
63+
git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-msvc-windows
6364
64-
Build-GCC-Ubuntu:
65+
Build-GNUCXX-Ubuntu:
6566
runs-on: ubuntu-latest
6667

6768
strategy:
@@ -76,7 +77,7 @@ jobs:
7677
run: |
7778
pip install seaborn
7879
79-
- name: Install the latest gcc compiler.
80+
- name: Install the latest gnucxx compiler.
8081
working-directory: ./
8182
run: |
8283
sudo apt-get install build-essential
@@ -111,10 +112,10 @@ jobs:
111112
run: |
112113
sudo git config --global user.email "[email protected]"
113114
sudo git config --global user.name "RealTimeChris"
114-
sudo git checkout -b temp-branch-gcc-ubuntu
115+
sudo git checkout -b temp-gnucxx-ubuntu
115116
sudo git add .
116-
sudo git commit -m "Updates - GCC-Ubuntu"
117-
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-branch-gcc-ubuntu
117+
sudo git commit -m "Updates - GNUCXX-Ubuntu"
118+
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-gnucxx-ubuntu
118119
119120
Build-CLANG-Ubuntu:
120121
runs-on: ubuntu-latest
@@ -129,10 +130,10 @@ jobs:
129130

130131
- name: Install the latest Clang compiler.
131132
run: |
132-
sudo apt update && sudo apt upgrade
133+
sudo apt update
133134
wget https://apt.llvm.org/llvm.sh
134135
chmod u+x llvm.sh
135-
sudo ./llvm.sh 19
136+
sudo ./llvm.sh 20
136137
137138
- name: Install Seaborn
138139
run: |
@@ -141,7 +142,7 @@ jobs:
141142
- name: Configure CMake
142143
working-directory: ./
143144
run: |
144-
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/clang++-19
145+
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/clang++-20
145146
146147
- name: Build the Test
147148
working-directory: ./Build
@@ -167,12 +168,12 @@ jobs:
167168
run: |
168169
sudo git config --global user.email "[email protected]"
169170
sudo git config --global user.name "RealTimeChris"
170-
sudo git checkout -b temp-branch-clang-ubuntu
171+
sudo git checkout -b temp-clang-ubuntu
171172
sudo git add .
172173
sudo git commit -m "Updates - CLANG-Ubuntu"
173-
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-branch-clang-ubuntu
174-
175-
Build-CLANG-MacOS:
174+
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-clang-ubuntu
175+
176+
Build-GNUCXX-MacOS:
176177
runs-on: macos-latest
177178

178179
strategy:
@@ -200,14 +201,20 @@ jobs:
200201
source env/bin/activate
201202
pip install -r requirements.txt
202203
203-
- name: Install the latest clang compiler.
204+
- name: Install the latest GNUCXX compiler
204205
run: |
205-
brew install llvm
206+
brew install gcc --force-bottle
207+
208+
- name: Determine g++ path
209+
id: gpp_path
210+
run: |
211+
echo "G++ Path: $(which g++)"
212+
echo "GXX_PATH=$(which g++)" >> $GITHUB_ENV
206213
207214
- name: Configure CMake
208215
working-directory: ./
209216
run: |
210-
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++
217+
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=${{env.GXX_PATH}}
211218
212219
- name: Build the Test
213220
working-directory: ./Build
@@ -234,12 +241,12 @@ jobs:
234241
run: |
235242
sudo git config --global user.email "[email protected]"
236243
sudo git config --global user.name "RealTimeChris"
237-
sudo git checkout -b temp-branch-clang-macos
244+
sudo git checkout -b temp-gnucxx-macos
238245
sudo git add .
239-
sudo git commit -m "Updates - CLANG-MacOS"
240-
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-branch-clang-macos
241-
242-
Build-GCC-MacOS:
246+
sudo git commit -m "Updates - GNUCXX-MacOS"
247+
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-gnucxx-macos
248+
249+
Build-CLANG-MacOS:
243250
runs-on: macos-latest
244251

245252
strategy:
@@ -267,20 +274,14 @@ jobs:
267274
source env/bin/activate
268275
pip install -r requirements.txt
269276
270-
- name: Install the latest GCC compiler
271-
run: |
272-
brew install gcc --force-bottle
273-
274-
- name: Determine g++ path
275-
id: gpp_path
277+
- name: Install the latest clang compiler.
276278
run: |
277-
echo "G++ Path: $(which g++)"
278-
echo "GXX_PATH=$(which g++)" >> $GITHUB_ENV
279+
brew install llvm
279280
280281
- name: Configure CMake
281282
working-directory: ./
282283
run: |
283-
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=${{env.GXX_PATH}}
284+
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/opt/homebrew/opt/llvm/bin/clang++
284285
285286
- name: Build the Test
286287
working-directory: ./Build
@@ -307,19 +308,19 @@ jobs:
307308
run: |
308309
sudo git config --global user.email "[email protected]"
309310
sudo git config --global user.name "RealTimeChris"
310-
sudo git checkout -b temp-branch-gcc-macos
311+
sudo git checkout -b temp-clang-macos
311312
sudo git add .
312-
sudo git commit -m "Updates - GCC-MacOS"
313-
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-branch-gcc-macos
313+
sudo git commit -m "Updates - CLANG-MacOS"
314+
sudo git push -f https://${{ secrets.GITHUB_TOKEN }}@github.com/RealTimeChris/Json-Performance.git temp-clang-macos
314315
315316
Merge-Branches:
316317
runs-on: ubuntu-latest
317318
needs:
318319
- Build-MSVC-Windows
319-
- Build-GCC-Ubuntu
320+
- Build-GNUCXX-Ubuntu
320321
- Build-CLANG-Ubuntu
322+
- Build-GNUCXX-MacOS
321323
- Build-CLANG-MacOS
322-
- Build-GCC-MacOS
323324

324325
steps:
325326
- uses: actions/checkout@v4
@@ -332,19 +333,25 @@ jobs:
332333
sudo git config --global user.name "RealTimeChris"
333334
sudo git fetch origin
334335
sudo git checkout benchmarking
335-
sudo git merge origin/temp-branch-msvc-windows --no-ff
336-
sudo git merge origin/temp-branch-gcc-ubuntu --no-ff
337-
sudo git merge origin/temp-branch-clang-ubuntu --no-ff
338-
sudo git merge origin/temp-branch-clang-macos --no-ff
339-
sudo git merge origin/temp-branch-gcc-macos --no-ff
340-
sudo git push origin benchmarking
336+
sudo git pull -f origin benchmarking
337+
sudo git merge origin/temp-msvc-windows --no-ff
338+
sudo git merge origin/temp-gnucxx-ubuntu --no-ff
339+
sudo git merge origin/temp-clang-ubuntu --no-ff
340+
sudo git merge origin/temp-gnucxx-macos --no-ff
341+
sudo git merge origin/temp-clang-macos --no-ff
342+
sudo git checkout --orphan newBranch
343+
sudo git add .
344+
sudo git commit -m "Updating necessary files."
345+
sudo git branch -D benchmarking
346+
sudo git branch -m benchmarking
347+
sudo git push origin benchmarking -f
341348
342349
- name: Delete temporary branches
343350
env:
344351
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
345352
run: |
346-
sudo git push origin --delete temp-branch-msvc-windows
347-
sudo git push origin --delete temp-branch-gcc-ubuntu
348-
sudo git push origin --delete temp-branch-clang-ubuntu
349-
sudo git push origin --delete temp-branch-clang-macos
350-
sudo git push origin --delete temp-branch-gcc-macos
353+
sudo git push origin --delete temp-msvc-windows
354+
sudo git push origin --delete temp-gnucxx-ubuntu
355+
sudo git push origin --delete temp-clang-ubuntu
356+
sudo git push origin --delete temp-gnucxx-macos
357+
sudo git push origin --delete temp-clang-macos

CMakeLists.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ project(
88

99
set(CMAKE_INSTALL_PREFIX "${CMAKE_CURRENT_SOURCE_DIR}/Install/")
1010

11-
set(CMAKE_CXX_STANDARD 20)
11+
set(CMAKE_CXX_STANDARD 23)
12+
set(CMAKE_CXX_STANDARD_REQUIRED TRUE)
1213

1314
include(FetchContent)
1415
include(GetCommitHash.cmake)
@@ -42,7 +43,7 @@ FetchContent_MakeAvailable(BenchmarkSuite)
4243

4344
FetchContent_Declare(
4445
simdjson
45-
GIT_REPOSITORY https://github.com/RealTimeChris/simdjson.git
46+
GIT_REPOSITORY https://github.com/simdjson/simdjson.git
4647
GIT_TAG master
4748
GIT_SHALLOW TRUE
4849
)
@@ -82,10 +83,10 @@ if (WIN32)
8283
OPTIONAL
8384
)
8485
endif()
85-
message("COMPILER: ${CMAKE_CXX_COMPILER_ID}")
86+
8687
target_compile_definitions(
8788
"Json-Performance" PUBLIC
88-
"JSON_TEST_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/Source/ConformanceTests\""
89+
"JSON_TEST_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/Source/\""
8990
"JSON_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/Json\""
9091
"README_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/\""
9192
"GRAPHS_PATH=\"${CMAKE_CURRENT_SOURCE_DIR}/Graphs\""
-826 Bytes
-1.13 KB
-906 Bytes
1.85 KB
1.26 KB
60 Bytes
-3.15 KB
714 Bytes

0 commit comments

Comments
 (0)