From 56fb1c4213aa0f05e8fe869953abc34a368cb038 Mon Sep 17 00:00:00 2001 From: Amin Yahyaabadi Date: Sun, 11 Jul 2021 05:42:15 -0500 Subject: [PATCH] chore(release): 0.6.0 --- .github/workflows/CI.yml | 2 +- Readme.md | 12 ++++++------ package.json | 10 +++++++++- src/native/lib.d | 2 +- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 50c4405..a054ee2 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -36,7 +36,7 @@ jobs: steps: - uses: actions/checkout@v2 with: - submodules: 'true' + submodules: "true" # Cache - name: Cache diff --git a/Readme.md b/Readme.md index aec360d..fdacec0 100644 --- a/Readme.md +++ b/Readme.md @@ -1,6 +1,6 @@ # minijson -Minify JSON files **blazing fast**! Supports Comments. Written in D. +Minify JSON files **blazing fast**! Supports Comments. Uses D, C, and AVX2 and SSE4_1 SIMD. 4180 times faster than jsonminify! @@ -14,11 +14,11 @@ Minify JSON files **blazing fast**! Supports Comments. Written in D. npm install @aminya/minijson ``` -- CLI Binaries +- Native CLI Binaries (Windows, MacOS, Linux) -You can also download the binaries for the CLI from the release page: +You can download the native binaries for the CLI from the release page: -https://github.com/aminya/minijson/releases/tag/v0.5.1 +https://github.com/aminya/minijson/releases/tag/v0.6.0 - Dub @@ -96,10 +96,10 @@ On AMD Ryzen 7 4800H: ``` ❯ .\dist\minijson-benchmark.exe --benchmark-minifyString --benchmark-minifyFiles -Benchmark minifyFiles -49 ms Benchmark minifyString 14 ms +Benchmark minifyFiles +49 ms ❯ node .\benchmark\js-benchmark.mjs Benchmark minifyString diff --git a/package.json b/package.json index bcfbf45..c3e12f4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "@aminya/minijson", "author": "Amin Yahyaabdi", "version": "0.5.1", - "description": "Minify JSON files blazing fast! Supports Comments. Written in D.", + "description": "Minify JSON files blazing fast! Supports Comments. Uses D, C, and AVX2 and SSE4_1 SIMD", "homepage": "https://github.com/aminya/minijson", "license": "MIT", "files": [ @@ -89,6 +89,14 @@ "blazing", "d", "c", + "simd", + "avx", + "sse", + "sse3", + "sse4", + "sse4.1", + "sse4.2", + "avx2", "rust", "bandwith" ] diff --git a/src/native/lib.d b/src/native/lib.d index c75d038..acab581 100644 --- a/src/native/lib.d +++ b/src/native/lib.d @@ -1,6 +1,6 @@ module minijson.lib; -import std : ctRegex, matchAll, matchFirst, toStringz; +import std : ctRegex, matchAll, matchFirst; import despacer.simd_check : supports_sse4_1, supports_avx2;