Skip to content

Commit 7a87429

Browse files
committed
add benchmark
1 parent 4686c2c commit 7a87429

File tree

3 files changed

+1426
-3
lines changed

3 files changed

+1426
-3
lines changed

benchmark/src/test/java/com/alibaba/fastjson2/benchmark/ReadResult.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,15 @@ public static void main(String[] args) throws Exception {
1515
// File file = new File("/Users/wenshao/Downloads/result_2.0.25.out");
1616

1717
Map<String, String> files = new LinkedHashMap<>();
18+
files.put("aliyun_ecs.c8a.large", "/Users/wenshao/Downloads/result_" + version + "_g8a.out");
1819
files.put("aliyun_ecs.c8i.large", "/Users/wenshao/Downloads/result_" + version + "_g8i.out");
1920
// files.put("aliyun_ecs.g7.large", "/Users/wenshao/Downloads/result_2.0.33_g7.out");
2021
files.put("aliyun_ecs.g8y.large", "/Users/wenshao/Downloads/result_" + version + "_g8y.out");
2122
// files.put("aws_ecs.c6g.large", "/Users/wenshao/Downloads/result_2.0.41_aws_c6g.out");
2223
// files.put("aws_ecs.c7g.large", "/Users/wenshao/Downloads/result_" + version + "_aws_c7g.out");
23-
files.put("orangepi5p", "/Users/wenshao/Downloads/result_" + version + "_orangepi5.out");
24-
files.put("orangepi_aipro", "/Users/wenshao/Downloads/result_" + version + "_orangepi_aipro.out");
25-
files.put("MacBookM1Pro", "/Users/wenshao/Downloads/result_" + version + "_applem1pro.out");
24+
// files.put("orangepi5p", "/Users/wenshao/Downloads/result_" + version + "_orangepi5.out");
25+
// files.put("orangepi_aipro", "/Users/wenshao/Downloads/result_" + version + "_orangepi_aipro.out");
26+
// files.put("MacBookM1Pro", "/Users/wenshao/Downloads/result_" + version + "_applem1pro.out");
2627

2728
PrintStream out = new PrintStream(new FileOutputStream(outFile));
2829
files.forEach((k, v) -> {

0 commit comments

Comments
 (0)