Skip to content

Use SWAR in CBORParser - #758

Open
pjfanning wants to merge 3 commits into
FasterXML:3.xfrom
pjfanning:cbor-parser
Open

Use SWAR in CBORParser#758
pjfanning wants to merge 3 commits into
FasterXML:3.xfrom
pjfanning:cbor-parser

Conversation

@pjfanning

@pjfanning pjfanning commented Aug 21, 2026

Copy link
Copy Markdown
Member

Similar to #757

I added a benchmark to https://github.com/pjfanning/jackson-bench

Benchmark                                                  Mode  Cnt     Score     Error  Units
CBORDoubleArrayBench.benchParseFromByteArray              thrpt    5   626.706 ±   6.381  ops/s
CBORDoubleArrayBench.benchParseFromByteArraySwar          thrpt    5   722.926 ±  15.344  ops/s

@pjfanning
pjfanning marked this pull request as draft August 21, 2026 23:55
@github-actions

github-actions Bot commented Aug 21, 2026

Copy link
Copy Markdown

🧪 Code Coverage Report

Coverage Type Coverage Change
📝 Instructions 76.47% 📉 -0.48%
🔀 Branches 68.27% 📉 -0.20%

@pjfanning pjfanning changed the title WIP: use SWAR in CBORParser use SWAR in CBORParser Aug 22, 2026
@pjfanning
pjfanning marked this pull request as ready for review August 22, 2026 01:07
@cowtowncoder cowtowncoder added cbor performance Issue/PR related to performance; usually optimization there-of labels Aug 22, 2026
@cowtowncoder cowtowncoder changed the title use SWAR in CBORParser Use SWAR in CBORParser Aug 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cbor performance Issue/PR related to performance; usually optimization there-of

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants