| ci: add agent guide and benchmark comparison (#137) ## Summary - Add a repository-level AGENTS.md guide for coding agents and contributors. - Add benchmark comparison CI that runs base/head Google Benchmark jobs, compares JSON outputs, and posts a sticky PR comment. - Add scripts/tools/compare-benchmark.py to generate Markdown benchmark summaries and fail on regressions above the configured threshold. ## Notes - This PR changes no library runtime code. - The benchmark workflow is intended for follow-up OOM split PRs; once this lands on master, later PRs can consume it directly. ## Validation - python3 -m py_compile scripts/tools/compare-benchmark.py - python3 scripts/tools/compare-benchmark.py /tmp/sonic_master_bench.json /tmp/sonic_master_bench.json --warn-threshold=3 --fail-threshold=5 --output=/tmp/sonic_benchmark_comment_test.md - git diff --cached --check before commit | 5 months ago |
| fix: handle OOM correctly in parser and DOM code (#135) fix OOM handling in parser, SAX, and DOM paths avoid null dereferences during mutation and parsing add tests for parser, lazy parse, and DOM OOM cases | 6 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| fix: handle OOM correctly in parser and DOM code (#135) fix OOM handling in parser, SAX, and DOM paths avoid null dereferences during mutation and parsing add tests for parser, lazy parse, and DOM OOM cases | 6 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| fix: handle OOM correctly in parser and DOM code (#135) fix OOM handling in parser, SAX, and DOM paths avoid null dereferences during mutation and parsing add tests for parser, lazy parse, and DOM OOM cases | 6 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| ci: add agent guide and benchmark comparison (#137) ## Summary - Add a repository-level AGENTS.md guide for coding agents and contributors. - Add benchmark comparison CI that runs base/head Google Benchmark jobs, compares JSON outputs, and posts a sticky PR comment. - Add scripts/tools/compare-benchmark.py to generate Markdown benchmark summaries and fail on regressions above the configured threshold. ## Notes - This PR changes no library runtime code. - The benchmark workflow is intended for follow-up OOM split PRs; once this lands on master, later PRs can consume it directly. ## Validation - python3 -m py_compile scripts/tools/compare-benchmark.py - python3 scripts/tools/compare-benchmark.py /tmp/sonic_master_bench.json /tmp/sonic_master_bench.json --warn-threshold=3 --fail-threshold=5 --output=/tmp/sonic_benchmark_comment_test.md - git diff --cached --check before commit | 5 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| fix: handle OOM correctly in parser and DOM code (#135) fix OOM handling in parser, SAX, and DOM paths avoid null dereferences during mutation and parsing add tests for parser, lazy parse, and DOM OOM cases | 6 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| fix: fix compile failed for macos and benchmark (#124) fix compile failed on macos and arm cpu | 9 months ago |
| style: Add clang format check actions (#16) # Main Changes Add new action to check coding-style | 3 years ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| fix: unify token-locate helpers for SVE2-128 and stabilize tests (#132) Rename SVE2-128 StringBlock token locate helpers to LocateToken/LocateTokenLe and add NEON overloads via bitmask-based first-index helper. Fix allocator unit test by asserting realloc result and clearing pointer after free; add missing trailing newlines in tests. | 7 months ago |
| ci: add agent guide and benchmark comparison (#137) ## Summary - Add a repository-level AGENTS.md guide for coding agents and contributors. - Add benchmark comparison CI that runs base/head Google Benchmark jobs, compares JSON outputs, and posts a sticky PR comment. - Add scripts/tools/compare-benchmark.py to generate Markdown benchmark summaries and fail on regressions above the configured threshold. ## Notes - This PR changes no library runtime code. - The benchmark workflow is intended for follow-up OOM split PRs; once this lands on master, later PRs can consume it directly. ## Validation - python3 -m py_compile scripts/tools/compare-benchmark.py - python3 scripts/tools/compare-benchmark.py /tmp/sonic_master_bench.json /tmp/sonic_master_bench.json --warn-threshold=3 --fail-threshold=5 --output=/tmp/sonic_benchmark_comment_test.md - git diff --cached --check before commit | 5 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| Initial version | 3 years ago |
| fix: add license in root | 3 years ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |
| chore: fix badge url (#78) fix badge url and typo --------- Signed-off-by: Dup4 <lyuzhi.pan@gmail.com> | 3 years ago |
| chore: modernize build system and apply code formatting (#131) - Migrate Bazel dependencies to Bzlmod (remove custom BUILD files). - Update versions of googletest, google_benchmark, and other dependencies. - Add .pre-commit-config.yaml and .codespellrc for linting. - Apply clang-format to C++ source files. - Update CI workflows for better coverage and testing. - Miscellaneous cleanup in documentation and licenses. --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> | 7 months ago |