This commit is contained in:
Looly
2024-10-01 11:00:05 +08:00
parent 06ada31d88
commit 64a04fdfd1
10 changed files with 133 additions and 144 deletions

View File

@@ -46,11 +46,11 @@ public class JsonPutJmh {
@Benchmark
public void hutoolJmh() {
testData.forEach(hutoolJSON::putObj);
hutoolJSON.putAllObj(testData);
}
@Benchmark
public void fastJSONJmh() {
testData.forEach(fastJSON::put);
fastJSON.putAll(testData);
}
}