Skip to content

Commit

Permalink
test[fastjson2]: jsonb test
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Nov 28, 2023
1 parent dceb194 commit 173f220
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
public class BenchmarkTesting {

public static int benchmark = 10_0000;

/**
* 单线程性能测试
* <p>
Expand Down Expand Up @@ -194,7 +194,7 @@ public void jsonbTest() {
var bytes = JSONB.toBytes(simpleObject);
var mess = JSONB.parseObject(bytes, SimpleObject.class);

// 次方式速度奇慢
// 这种通过流写入的方式速度奇慢
// JSONB.writeTo(output, normalObject);
// var mess = JSONB.parseObject(input, NormalObject.class);
}
Expand Down

0 comments on commit 173f220

Please sign in to comment.