mirror of
https://github.com/nlohmann/json.git
synced 2026-09-30 22:15:19 +00:00
tests/benchmarks/json_view/ holds the comparison with other libraries, which is not built by CMake or run by CI: - bench_view.cpp: parse, traverse, select, and dump of twitter, citm_catalog, canada, jeopardy, a single tweet, and a JSON-RPC request, with json_view, yyjson, simdjson (DOM and On-Demand), Boost.JSON, and json::parse; all engines must agree on every document before anything is timed, and run interleaved in every round - bench_corpus.cpp: parse, traverse, and dump of any list of files - compare.py: builds both against include/ with the libraries of the system (or pinned downloads), runs them, and writes the results with what is needed to reproduce them (date, commit, CPU, OS, compiler, flags, library versions) to results/<date>-<host>.md and .csv; only the Python 3 standard library is used - README.md: how to run it, what is measured, and which features the engines have, so the numbers can be read correctly Boost.JSON is optional (JSON_VIEW_BENCH_BOOST). Signed-off-by: Niels Lohmann <mail@nlohmann.me>
78 lines
1.9 KiB
YAML
78 lines
1.9 KiB
YAML
version: 1
|
|
|
|
labels:
|
|
- label: "documentation"
|
|
files:
|
|
- "README.md"
|
|
|
|
- label: "documentation"
|
|
files:
|
|
- "docs/.*"
|
|
|
|
- label: "tests"
|
|
files:
|
|
- "tests/.*"
|
|
|
|
- label: "CMake"
|
|
files:
|
|
- ".*CMakeLists.txt"
|
|
|
|
- label: "CMake"
|
|
files:
|
|
- "cmake/.*"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/workflows/.*"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/external_ci/.*"
|
|
|
|
- label: "CI"
|
|
files:
|
|
- ".github/(dependabot|labeler)\\.yml"
|
|
|
|
- label: "aspect: binary formats"
|
|
files:
|
|
- "include/nlohmann/detail/input/binary_reader\\.hpp"
|
|
- "include/nlohmann/detail/output/binary_writer\\.hpp"
|
|
- "tests/src/unit-(bson|cbor|msgpack|ubjson|bjdata|bon8|binary_formats)"
|
|
- "tests/src/fuzzer-parse_(bson|cbor|msgpack|ubjson|bjdata|bon8)"
|
|
- "docs/mkdocs/docs/features/binary_formats/"
|
|
- "docs/mkdocs/docs/(api/basic_json|examples)/(to|from)_(bson|cbor|msgpack|ubjson|bjdata|bon8)"
|
|
|
|
- label: "aspect: binary formats"
|
|
title: "(?i)(bson|cbor|msgpack|messagepack|ubjson|bjdata|bon8|binary format)"
|
|
|
|
- label: "aspect: json_view"
|
|
files:
|
|
- "include/nlohmann/json_view\\.hpp"
|
|
- "include/nlohmann/detail/view/.*"
|
|
- "single_include/nlohmann/json_view\\.hpp"
|
|
- "tests/src/unit-json_view.*"
|
|
- "tests/src/fuzzer-parse_json_view\\.cpp"
|
|
- "tests/benchmarks/json_view/.*"
|
|
- "tools/amalgamate/config_json_view\\.json"
|
|
- "docs/mkdocs/docs/features/json_view\\.md"
|
|
- "docs/mkdocs/docs/api/basic_json_(document|view)/.*"
|
|
- "docs/mkdocs/docs/api/(ordered_)?json_(document|view)\\.md"
|
|
- "docs/mkdocs/docs/examples/(basic_json_(document|view)__|(ordered_)?json_(document|view)).*"
|
|
- "tests/benchmarks/src/benchmarks_view\\.cpp"
|
|
|
|
- label: "aspect: json_view"
|
|
title: "(?i)(json_view|json_document|zero-copy)"
|
|
|
|
- label: "python"
|
|
files:
|
|
- "\\.py$"
|
|
- "requirements[^/]*\\.txt$"
|
|
|
|
- label: "S"
|
|
size-below: 10
|
|
- label: "M"
|
|
size-above: 9
|
|
size-below: 100
|
|
- label: "L"
|
|
size-above: 100
|