Skip to content

Commit 09b36a8

Browse files
committed
Jsonifier Release v0.9.96
* Added support for directly prettifying the Json data as it's written. * Fixing a string parsing issue with sizes. * Added the ARM-NEON implementation for various string operations. * Added new simd-based hashmap implementation to improve key find-performance. * Added a new minimal-char-based hashmap implementation to improve key find-performance. *
1 parent 1973f2b commit 09b36a8

File tree

129 files changed

+1635627
-120745
lines changed

Some content is hidden

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

129 files changed

+1635627
-120745
lines changed

.github/workflows/CLANG_17-MacOS.yml renamed to .github/workflows/CLANG-MacOS.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- main
88
- dev
9+
- newerBranch
910

1011
jobs:
1112
Build:
@@ -19,12 +20,15 @@ jobs:
1920
std: [20]
2021

2122
steps:
22-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2324

2425
- name: Install the latest clang compiler.
2526
run: |
2627
brew install llvm
27-
ls /opt/homebrew/opt/llvm/bin
28+
29+
- name: Install Nasm.
30+
run: |
31+
brew install nasm
2832
2933
- name: Configure CMake
3034
working-directory: ./
@@ -36,6 +40,11 @@ jobs:
3640
run: |
3741
cmake --build . --config=${{matrix.build_type}}
3842
43+
- name: Install the Test
44+
working-directory: ./Build
45+
run: |
46+
sudo cmake --install . --config=${{matrix.build_type}}
47+
3948
- name: Run the Test
4049
working-directory: ./Build/Tests
4150
run: |

.github/workflows/CLANG_15-MacOS.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/workflows/Construct-Vcpkg-Info.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
php-version: '8.1'
1616

1717
- name: Checkout Jsonifier
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
with:
2020
submodules: recursive
2121

.github/workflows/GCC_13-Ubuntu.yml renamed to .github/workflows/GCC-Ubuntu.yml

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- main
88
- dev
9+
- newerBranch
910

1011
jobs:
1112
Build:
@@ -14,29 +15,34 @@ jobs:
1415
strategy:
1516
fail-fast: false
1617
matrix:
17-
gcc: [13]
18+
gcc: [12]
1819
build_type: [Debug, Release]
1920
std: [20]
2021

2122
steps:
22-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2324

2425
- name: Install the latest gcc compiler.
2526
working-directory: Tests
2627
run: |
2728
sudo apt-get install build-essential
28-
sudo apt-get install g++-13
29+
sudo apt-get install g++-12
2930
3031
- name: Configure CMake
3132
working-directory: ./
3233
run: |
33-
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-13 -DDEV="TRUE" -DJSONIFIER_TEST=true
34+
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 -DDEV="TRUE" -DJSONIFIER_TEST=true
3435
3536
- name: Build the Test
3637
working-directory: ./Build
3738
run: |
3839
cmake --build . --config=${{matrix.build_type}}
3940
41+
- name: Install the Test
42+
working-directory: ./Build
43+
run: |
44+
sudo cmake --install . --config=${{matrix.build_type}}
45+
4046
- name: Run the Test
4147
working-directory: ./Build/Tests
4248
run: |

.github/workflows/MSVC_2022-Windows.yml renamed to .github/workflows/MSVC-Windows.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
branches:
77
- main
88
- dev
9+
- newerBranch
910

1011
jobs:
1112
Build:
@@ -19,7 +20,7 @@ jobs:
1920
std: [20]
2021

2122
steps:
22-
- uses: actions/checkout@v3
23+
- uses: actions/checkout@v4
2324

2425
- name: Append the directory of 'vcvarsall.bat' to PATH environment variable
2526
uses: myci-actions/export-env-var-powershell@1
@@ -37,8 +38,13 @@ jobs:
3738
run: |
3839
cmake --build . --config=${{matrix.build_type}}
3940
41+
- name: Install the Test
42+
working-directory: ./Build
43+
run: |
44+
cmake --install . --config=${{matrix.build_type}}
45+
4046
- name: Run the Test
41-
working-directory: ./Build/Tests/${{matrix.build_type}}
47+
working-directory: C:/Program Files (x86)/Jsonifier/bin/
4248
run: |
4349
./Json-Performance.exe
4450
continue-on-error: true

.gitignore

Lines changed: 34 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,37 @@
1+
# Prerequisites
2+
*.d
3+
4+
# Compiled Object files
5+
*.slo
6+
*.lo
7+
*.o
8+
*.obj
9+
10+
# Precompiled Headers
11+
*.gch
12+
*.pch
13+
14+
# Compiled Dynamic libraries
15+
*.so
16+
*.dylib
17+
*.dll
18+
19+
# Fortran module files
20+
*.mod
21+
*.smod
22+
23+
# Compiled Static libraries
24+
*.lai
25+
*.la
26+
*.a
27+
*.lib
28+
29+
# Executables
30+
*.exe
31+
*.out
32+
*.app
133
.vs/
234
out/
3-
Output Files/
4-
Output/
5-
Documentation/docs
6-
Build/
35+
CMake/Build/
736
Install/
8-
DetectArchitecture.exe
9-
DetectArchitecture.obj
37+
Build/

CMake/BuildFeatureTester.bat

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
cmake -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
2-
cmake --build ./Build --config=Release
1+
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
2+
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" --build ./Build --config=Release

CMake/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ cmake_minimum_required(VERSION 3.10)
22
project(FeatureDetection)
33

44
# Add your source file(s)
5-
add_executable(feature_detector Main.cpp)
5+
add_executable(feature_detector main.cpp)

CMake/JsonifierDetectArchitecture.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
# https://discordcoreapi.com
55

66
if (UNIX OR APPLE)
7+
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.sh" "#!/bin/bash
8+
\"${CMAKE_COMMAND}\" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
9+
\"${CMAKE_COMMAND}\" --build ./Build --config=Release")
710
execute_process(
811
COMMAND chmod +x "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.sh"
912
RESULT_VARIABLE CHMOD_RESULT
@@ -17,6 +20,8 @@ if (UNIX OR APPLE)
1720
)
1821
set(FEATURE_TESTER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/Build/feature_detector")
1922
elseif(WIN32)
23+
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.bat" "\"${CMAKE_COMMAND}\" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
24+
\"${CMAKE_COMMAND}\" --build ./Build --config=Release")
2025
execute_process(
2126
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.bat"
2227
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/CMake"

0 commit comments

Comments
 (0)