Skip to content

Commit

Permalink
Jsonifier Release v0.9.96
Browse files Browse the repository at this point in the history
* 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.
*
  • Loading branch information
RealTimeChris committed Jul 4, 2024
1 parent 1973f2b commit 09b36a8
Show file tree
Hide file tree
Showing 129 changed files with 1,635,627 additions and 120,745 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- dev
- newerBranch

jobs:
Build:
Expand All @@ -19,12 +20,15 @@ jobs:
std: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install the latest clang compiler.
run: |
brew install llvm
ls /opt/homebrew/opt/llvm/bin
- name: Install Nasm.
run: |
brew install nasm
- name: Configure CMake
working-directory: ./
Expand All @@ -36,6 +40,11 @@ jobs:
run: |
cmake --build . --config=${{matrix.build_type}}
- name: Install the Test
working-directory: ./Build
run: |
sudo cmake --install . --config=${{matrix.build_type}}
- name: Run the Test
working-directory: ./Build/Tests
run: |
Expand Down
39 changes: 0 additions & 39 deletions .github/workflows/CLANG_15-MacOS.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/Construct-Vcpkg-Info.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
php-version: '8.1'

- name: Checkout Jsonifier
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
submodules: recursive

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- dev
- newerBranch

jobs:
Build:
Expand All @@ -14,29 +15,34 @@ jobs:
strategy:
fail-fast: false
matrix:
gcc: [13]
gcc: [12]
build_type: [Debug, Release]
std: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Install the latest gcc compiler.
working-directory: Tests
run: |
sudo apt-get install build-essential
sudo apt-get install g++-13
sudo apt-get install g++-12
- name: Configure CMake
working-directory: ./
run: |
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-13 -DDEV="TRUE" -DJSONIFIER_TEST=true
cmake -S . -B ./Build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 -DDEV="TRUE" -DJSONIFIER_TEST=true
- name: Build the Test
working-directory: ./Build
run: |
cmake --build . --config=${{matrix.build_type}}
- name: Install the Test
working-directory: ./Build
run: |
sudo cmake --install . --config=${{matrix.build_type}}
- name: Run the Test
working-directory: ./Build/Tests
run: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ on:
branches:
- main
- dev
- newerBranch

jobs:
Build:
Expand All @@ -19,7 +20,7 @@ jobs:
std: [20]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Append the directory of 'vcvarsall.bat' to PATH environment variable
uses: myci-actions/export-env-var-powershell@1
Expand All @@ -37,8 +38,13 @@ jobs:
run: |
cmake --build . --config=${{matrix.build_type}}
- name: Install the Test
working-directory: ./Build
run: |
cmake --install . --config=${{matrix.build_type}}
- name: Run the Test
working-directory: ./Build/Tests/${{matrix.build_type}}
working-directory: C:/Program Files (x86)/Jsonifier/bin/
run: |
./Json-Performance.exe
continue-on-error: true
Expand Down
40 changes: 34 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,37 @@
# Prerequisites
*.d

# Compiled Object files
*.slo
*.lo
*.o
*.obj

# Precompiled Headers
*.gch
*.pch

# Compiled Dynamic libraries
*.so
*.dylib
*.dll

# Fortran module files
*.mod
*.smod

# Compiled Static libraries
*.lai
*.la
*.a
*.lib

# Executables
*.exe
*.out
*.app
.vs/
out/
Output Files/
Output/
Documentation/docs
Build/
CMake/Build/
Install/
DetectArchitecture.exe
DetectArchitecture.obj
Build/
4 changes: 2 additions & 2 deletions CMake/BuildFeatureTester.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cmake -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
cmake --build ./Build --config=Release
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
"C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/bin/cmake.exe" --build ./Build --config=Release
2 changes: 1 addition & 1 deletion CMake/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ cmake_minimum_required(VERSION 3.10)
project(FeatureDetection)

# Add your source file(s)
add_executable(feature_detector Main.cpp)
add_executable(feature_detector main.cpp)
5 changes: 5 additions & 0 deletions CMake/JsonifierDetectArchitecture.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
# https://discordcoreapi.com

if (UNIX OR APPLE)
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.sh" "#!/bin/bash
\"${CMAKE_COMMAND}\" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=${CMAKE_CXX_COMPILER}
\"${CMAKE_COMMAND}\" --build ./Build --config=Release")
execute_process(
COMMAND chmod +x "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.sh"
RESULT_VARIABLE CHMOD_RESULT
Expand All @@ -17,6 +20,8 @@ if (UNIX OR APPLE)
)
set(FEATURE_TESTER_FILE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/Build/feature_detector")
elseif(WIN32)
file(WRITE "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.bat" "\"${CMAKE_COMMAND}\" -S ./ -B ./Build -DCMAKE_BUILD_TYPE=Release
\"${CMAKE_COMMAND}\" --build ./Build --config=Release")
execute_process(
COMMAND "${CMAKE_CURRENT_SOURCE_DIR}/CMake/BuildFeatureTester.bat"
WORKING_DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/CMake"
Expand Down
Loading

0 comments on commit 09b36a8

Please sign in to comment.