Skip to content

deps: update simdjson to 5.0.2 - #66495

Closed
nodejs-github-bot wants to merge 2 commits into
mainfrom
actions/tools-update-simdjson
Closed

nodejs-github-bot wants to merge 2 commits into
mainfrom
actions/tools-update-simdjson

Conversation

@nodejs-github-bot

@nodejs-github-bot nodejs-github-bot commented Oct 4, 2026 •

Copy link
Copy Markdown
Collaborator

This is an automated update of simdjson to 5.0.2.

@nodejs-github-bot nodejs-github-bot added the dependencies PRs that add, update, or configure Node.js dependencies. label Oct 4, 2026
@nodejs-github-bot

Copy link
Copy Markdown
Collaborator Author

Review requested:

  • @nodejs/security-wg

@nodejs-github-bot nodejs-github-bot added the needs-ci PRs that need a full CI run. label Oct 4, 2026
@nodejs-github-bot nodejs-github-bot changed the title deps: update simdjson to 5.0.1 deps: update simdjson to 5.0.2 Oct 5, 2026
@nodejs-github-bot
nodejs-github-bot force-pushed the actions/tools-update-simdjson branch from 78ef8a3 to f5f115a Compare October 5, 2026 15:20
@aduh95
aduh95 force-pushed the actions/tools-update-simdjson branch from 9d42073 to 378676b Compare October 5, 2026 16:21
Comment thread .github/workflows/test-linux.yml Outdated
Comment on lines 43 to 46
FLAKY_TESTS: keep_retrying
CLANG_VERSION: '19'
CLANG_VERSION: '20'
CC: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang-19
CXX: ${{ (github.base_ref == 'main' || github.ref_name == 'main') && 'sccache' || '' }} clang++-19

@richardlau richardlau Oct 5, 2026 •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CC and CXX environment variables would need to be updated to clang-20/clang++-20 to match CLANG_VERSION.

@aduh95
aduh95 force-pushed the actions/tools-update-simdjson branch from 378676b to f292891 Compare October 5, 2026 16:36
Signed-off-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
@lemire

lemire commented Oct 9, 2026

Copy link
Copy Markdown
Member

I recommend closing this PR. A simdjson patch was just released and we can add a new change to improve build speed.

So I am closing this PR.

@lemire

lemire commented Oct 9, 2026

Copy link
Copy Markdown
Member

The PR is superseded by #66620

@aduh95
aduh95 deleted the actions/tools-update-simdjson branch October 9, 2026 12:57
nodejs-github-bot pushed a commit that referenced this pull request Oct 11, 2026
PR-URL: #66620
Refs: simdjson/simdjson#2913
Refs: #66495
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
nodejs-github-bot pushed a commit that referenced this pull request Oct 11, 2026
env.h includes inspector_profiler.h, which included simdjson.h for
the types of two virtual methods and a parser member. As a result,
about 155 files in src/ parsed the amalgamated simdjson header,
which is over 10 MB.

Keep simdjson out of inspector_profiler.h: the profile connections
now say which field of `result` holds the profile, and
WriteProfile() takes the profile as raw JSON. The parser becomes a
local variable, so its buffers are no longer kept alive for the
lifetime of the Environment.

Also drop the unused include from node_task_runner.h, and let the
config file reader rewind its document instead of parsing the whole
file a second time with a second parser.

Now only the eight files that use simdjson include it. On an Apple
M-series machine, a clean rebuild of the src/ objects takes about
15% less CPU time (376 s to 320 s) and 19% less wall time at -j14.

Signed-off-by: Daniel Lemire <daniel@lemire.me>
PR-URL: #66620
Refs: simdjson/simdjson#2913
Refs: #66495
Reviewed-By: Yagiz Nizipli <yagiz@nizipli.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Richard Lau <richard.lau@ibm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies PRs that add, update, or configure Node.js dependencies. needs-ci PRs that need a full CI run.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants