Skip to content

Use SWAR in CBORParser - #758

Merged
cowtowncoder merged 6 commits into
FasterXML:3.xfrom
pjfanning:cbor-parser
Sep 4, 2026
Merged

cowtowncoder merged 6 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.49% 📉 -0.23%
🔀 Branches 68.30% 📉 -0.01%

@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
@cowtowncoder
cowtowncoder merged commit 3c6667d into FasterXML:3.x Sep 4, 2026
3 checks passed
@pjfanning
pjfanning deleted the cbor-parser branch September 4, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3.x 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