Skip to content

Commit 9560076

Browse files
authored
test(benchmark): add msgpack serialization/deserialization to benchmark (#2242)
ObjectType must be MEDIA_CONTENT or SAMPLE. ## What does this PR do? add msgpack serialization/deserialization to benchmark ## Related issues no ## Does this PR introduce any user-facing change? no ## Benchmark
1 parent 50d3cb6 commit 9560076

File tree

6 files changed

+1140
-320
lines changed

6 files changed

+1140
-320
lines changed

java/benchmark/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@ Fury Java Benchmark contains benchmarks for:
1111
- Jsonb
1212
- Protobuf
1313
- Flatbuffers
14+
- Msgpack
1415

1516
> Part of benchmark data is based on [Kryo benchmark](https://github.com/EsotericSoftware/kryo/tree/master/benchmarks).
1617
> Kryo benchmark suite is based on [Kryo benchmark](https://github.com/EsotericSoftware/kryo/tree/master/benchmarks).
18+
> The msgpack's official provides [msgpack-jackson](https://github.com/msgpack/msgpack-java/tree/main/msgpack-jackson) lib, but the performance is relatively poor. So, generate a basic [manually written code](https://github.com/apache/fury/tree/main/java/benchmark/src/main/java/org/apache/fury/benchmark/util/MsgpackUtil.java) using qwen3(LLM). Then modify it.
1719
1820
## How to run
1921

0 commit comments

Comments
 (0)