FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
SJF4J vs Jayway JsonPath: Up to 7x Faster in Java Benchmarks
How-ToTools

SJF4J vs Jayway JsonPath: Up to 7x Faster in Java Benchmarks

via Dev.toYu Han3h ago

We benchmarked JSONPath in Java. SJF4J: https://github.com/sjf4j-projects/sjf4j Jayway JsonPath: https://github.com/json-path/JsonPath Result: SJF4J is up to 7x faster. Here’s what we found. Benchmark Setup We built a JMH benchmark suite comparing: SJF4J Jayway JsonPath Across three workload shapes: Path compilation Query on shared JsonNode Query on Map/List object graphs JMH config: 5 × 300ms warmup 8 × 300ms measurement 2 forks 1 thread Expressions used: $.store.book[1].price $.store.bicycle.color $.store.book[*].author $..price $.store.book[?(@.price > 10)].title $.store.book[0,2].title Headline Results Geometric mean (lower is better): Benchmark group SJF4J Jayway Result compile 97 ns/op 125 ns/op SJF4J 1.28x faster query_definite 100 ns/op 237 ns/op SJF4J 2.38x faster query_indefinite 656 ns/op 1294 ns/op SJF4J 1.97x faster query_map_list_definite 31 ns/op 200 ns/op SJF4J 6.38x faster query_map_list_indefinite 280 ns/op 1301 ns/op SJF4J 4.65x faster TL;DR ~2x faster on typical que

Continue reading on Dev.to

Opens in a new tab

Read Full Article
7 views

Related Articles

Week 6 — No New Problems. Just Me and Everything I Already Learned.
How-To

Week 6 — No New Problems. Just Me and Everything I Already Learned.

Medium Programming • 2h ago

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)
How-To

What OpenClaw Gets Wrong Out of the Box (And How to Fix It)

Medium Programming • 2h ago

Android Remote Compose:讓 Android UI 不用發版也能更新
How-To

Android Remote Compose:讓 Android UI 不用發版也能更新

Medium Programming • 4h ago

How-To

Learn Something Old Every Day, Part XVIII: How Does FPU Detection Work?

Lobsters • 10h ago

“Learn to Code” Is Dead… Learn to Think Instead
How-To

“Learn to Code” Is Dead… Learn to Think Instead

Medium Programming • 12h ago

Discover More Articles