Parsing gigabytes of JSON per second : used by Facebook/Meta Velox, the Node.js runtime, ClickHouse, WatermelonDB, Apache Doris, Milvus, StarRocks
525 matches across 11 categories. Click a row to expand file-level details.
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | .travis.yml | 141 | key_url: 'https://apt.llvm.org/llvm-snapshot.gpg.key' |
| LOW | benchmark/benchmarker.h | 1 | #ifndef __BENCHMARKER_H |
| LOW | benchmark/benchmarker.h | 21 | #include <chrono> |
| LOW | benchmark/benchfeatures.cpp | 1 | #include <counters/event_counter.h> |
| LOW | benchmark/benchfeatures.cpp | 21 | #include <iomanip> |
| LOW | benchmark/bench_ondemand.cpp | 1 | #include "simdjson.h" |
| LOW | benchmark/bench_ondemand.cpp | 21 | #include <nlohmann/json.hpp> |
| LOW | benchmark/bench_ondemand.cpp | 41 | |
| LOW | benchmark/bench_ondemand.cpp | 61 | #include "distinct_user_id/simdjson_dom.h" |
| LOW | benchmark/bench_ondemand.cpp | 81 | #include "find_tweet/sajson.h" |
| LOW | benchmark/bench_ondemand.cpp | 101 | #include "top_tweet/rapidjson_sax.h" |
| LOW | benchmark/bench_ondemand.cpp | 121 | #if SIMDJSON_COMPETITION_SAX |
| LOW | benchmark/bench_ondemand.cpp | 141 | #if SIMDJSON_COMPETITION_SAX |
| LOW | benchmark/distinct_user_id/rapidjson_sax.h | 61 | #endif // SIMDJSON_COMPETITION_RAPIDJSON |
| LOW | …eflect/twitter_benchmark/benchmark_parsing_twitter.cpp | 1 | #include <cassert> |
| LOW | …/twitter_benchmark/benchmark_serialization_twitter.cpp | 1 | #include <cassert> |
| LOW | benchmark/static_reflect/serde-benchmark/lib.rs | 241 | // FFI Overhead Measurement Functions |
| LOW | …log_benchmark/benchmark_serialization_citm_catalog.cpp | 1 | #include <cassert> |
| LOW | …lect/citm_catalog_benchmark/benchmark_parsing_citm.cpp | 1 | #include <cassert> |
| LOW | benchmark/partial_tweets/tweet.h | 1 | #pragma once |
| LOW | benchmark/dom/perfdiff.cpp | 1 | #include <cstdio> |
| LOW | benchmark/dom/parse.cpp | 1 | #include <counters/event_counter.h> |
| LOW | benchmark/dom/parse.cpp | 21 | #include <iostream> |
| LOW | tools/minify.cpp | 1 | #include <chrono> |
| LOW | tools/json2json.cpp | 1 | #include <iostream> |
| LOW | include/simdjson.h | 41 | #include "simdjson/simdjson_version.h" |
| LOW | include/simdjson.h | 61 | #include "simdjson/compile_time_json.h" |
| LOW | include/simdjson/builtin.h | 1 | #ifndef SIMDJSON_BUILTIN_H |
| LOW | include/simdjson/builtin.h | 21 | #elif SIMDJSON_BUILTIN_IMPLEMENTATION_IS(westmere) |
| LOW | include/simdjson/fallback.h | 1 | #ifndef SIMDJSON_FALLBACK_H |
| LOW | include/simdjson/dom.h | 1 | #ifndef SIMDJSON_DOM_H |
| LOW | include/simdjson/dom.h | 21 | #include "simdjson/internal/tape_ref-inl.h" |
| LOW | include/simdjson/ppc64.h | 1 | #ifndef SIMDJSON_PPC64_H |
| LOW | include/simdjson/rvv-vls.h | 1 | #ifndef SIMDJSON_RVV_VLS_H |
| LOW | include/simdjson/haswell.h | 1 | #ifndef SIMDJSON_HASWELL_H |
| LOW | include/simdjson/convert-inl.h | 121 | #endif // SIMDJSON_SUPPORTS_CONCEPTS |
| LOW | include/simdjson/icelake.h | 1 | #ifndef SIMDJSON_ICELAKE_H |
| LOW | include/simdjson/portability.h | 1 | #ifndef SIMDJSON_PORTABILITY_H |
| LOW | include/simdjson/portability.h | 41 | |
| LOW | include/simdjson/portability.h | 61 | |
| LOW | include/simdjson/portability.h | 81 | // We are not using GCC, so we assume that we can support runtime dispatch for LASX. |
| LOW | include/simdjson/portability.h | 101 | #elif defined(__PPC__) || defined(_M_PPC) |
| LOW | include/simdjson/portability.h | 121 | #define SIMDJSON_STRINGIFY(a,...) SIMDJSON_CAT_IMPLEMENTATION_(a, __VA_ARGS__) |
| LOW | include/simdjson/portability.h | 141 | // |
| LOW | include/simdjson/portability.h | 161 | #endif // defined(SIMDJSON_IS_X86_64) || defined(SIMDJSON_IS_LSX) |
| LOW | include/simdjson/portability.h | 181 | // Lack of compiler optimization may generate high stack usage. |
| LOW | include/simdjson/portability.h | 201 | #define simdjson_pure |
| LOW | include/simdjson/portability.h | 221 | #define simdjson_strncasecmp _strnicmp |
| LOW | include/simdjson/portability.h | 241 | #endif |
| LOW | include/simdjson/portability.h | 261 | #elif defined(__MVS__) |
| LOW | include/simdjson/portability.h | 281 | #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ |
| LOW | include/simdjson/portability.h | 301 | // On Windows the class is disabled by default and must be explicitly |
| LOW | include/simdjson/portability.h | 321 | // simply does not exist — any attempt to use it fails at compile time |
| LOW | include/simdjson/common_defs.h | 21 | double from_chars(const char *first) noexcept; |
| LOW | include/simdjson/common_defs.h | 41 | #define SIMDJSON_BEGIN_DEBUG_BLOCK(name) __asm volatile("# LLVM-MCA-BEGIN " #name); |
| LOW | include/simdjson/common_defs.h | 61 | #define simdjson_unused |
| LOW | include/simdjson/common_defs.h | 81 | #endif |
| LOW | include/simdjson/common_defs.h | 101 | |
| LOW | include/simdjson/common_defs.h | 141 | SIMDJSON_DISABLE_GCC_WARNING(-Wunused-variable) \ |
| LOW | include/simdjson/common_defs.h | 161 | |
| 424 more matches not shown… | |||
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/benchmark_reflection_usage_compilation.sh | 322 | "name": "John Doe", |
| LOW | benchmark/benchmark_reflection_usage_compilation.sh | 327 | "street": "123 Main St", |
| LOW | benchmark/benchmark_reflection_usage_compilation.sh | 393 | "name": "John Doe", |
| LOW | benchmark/benchmark_reflection_usage_compilation.sh | 398 | "street": "123 Main St", |
| LOW | benchmark/accessor_performance/accessor_benchmark.h | 16 | "street": "123 Main St", |
| LOW | tests/ondemand/compile_time_json_path_tests.cpp | 47 | "name": "John Doe", |
| LOW | tests/ondemand/compile_time_json_path_tests.cpp | 58 | "street": "123 Main St", |
| LOW | tests/ondemand/compile_time_json_path_tests.cpp | 133 | ASSERT_EQUAL(name, "John Doe"); |
| LOW | tests/ondemand/compile_time_json_path_tests.cpp | 178 | ASSERT_EQUAL(street, "123 Main St"); |
| LOW | tests/ondemand/compile_time_json_pointer_tests.cpp | 47 | "name": "John Doe", |
| LOW | tests/ondemand/compile_time_json_pointer_tests.cpp | 96 | "street": "123 Main St", |
| LOW | tests/ondemand/compile_time_json_pointer_tests.cpp | 120 | ASSERT_EQUAL(name, "John Doe"); |
| LOW | tests/ondemand/compile_time_json_pointer_tests.cpp | 432 | ASSERT_EQUAL(street, "123 Main St"); |
| LOW | tests/ondemand/compile_time_json_pointer_tests.cpp | 527 | ASSERT_EQUAL(name, "John Doe"); |
| LOW | tests/builder/static_reflection_comprehensive_tests.cpp | 577 | Person person{"John Doe", 30, "john@example.com", std::nullopt}; |
| LOW | tests/builder/static_reflection_comprehensive_tests.cpp | 592 | ASSERT_EQUAL(name, "John Doe"); |
| LOW | tests/builder/static_reflection_comprehensive_tests.cpp | 598 | Person person{"Jane Smith", 25, "jane@example.com", "555-1234"}; |
| LOW | tests/builder/static_reflection_comprehensive_tests.cpp | 617 | ASSERT_EQUAL(phone, "555-1234"); |
| LOW | tests/builder/static_reflection_comprehensive_tests.cpp | 672 | Company company{"TechCorp", {"123 Main St", "San Francisco", "94105"}, 500}; |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | …lude/simdjson/generic/builder/fractured_json_builder.h | 42 | // Step 1: Serialize to minified JSON |
| LOW | …lude/simdjson/generic/builder/fractured_json_builder.h | 49 | // Step 2: Reformat with FracturedJson |
| LOW | …lude/simdjson/generic/builder/fractured_json_builder.h | 73 | // Step 1: Extract fields to minified JSON |
| LOW | …lude/simdjson/generic/builder/fractured_json_builder.h | 80 | // Step 2: Reformat with FracturedJson |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | style/run-clang-format.py | 36 | |
| LOW | style/run-clang-format.py | 163 | |
| LOW | scripts/detect_nonascii_sourcefiles.py | 5 | |
| LOW | singleheader/amalgamate.py | 717 | |
| LOW | singleheader/amalgamate.py | 375 | |
| LOW | singleheader/amalgamate.py | 540 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| HIGH | tools/release.py | 188 | print("to issue release, enter \n git commit -a && git push && git tag -a v"+toversionstring(*newversion)+" -m \"versi |
| Severity | File | Line | Snippet |
|---|---|---|---|
| MEDIUM | benchmark/benchmark_reflection_usage_compilation.sh | 57 | # ───────────────────────────── BOX-PRINT HELPER ──────────────────────────── |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | tools/release.py | 8 | |
| LOW | style/run-clang-format.py | 11 | |
| LOW | style/run-clang-format.py | 11 |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | style/run-clang-format.py | 97 | except Exception as e: |
| MEDIUM | style/run-clang-format.py | 91 | def run_clang_format_diff_wrapper(args, file): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | style/run-clang-format.py | 91 | def run_clang_format_diff_wrapper(args, file): |
| LOW | singleheader/amalgamate.py | 375 | def validate_free_dependency_file(self): |
| LOW | singleheader/amalgamate.py | 423 | def validate_free_dependency_files(self): |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | benchmark/benchmark_reflection_usage_compilation.sh | 167 | # Check if we found a working compiler |
| Severity | File | Line | Snippet |
|---|---|---|---|
| LOW | fuzz/ossfuzz.sh | 9 | # make sure to exit on problems |