Skip to content

Commit

Permalink
update benchmark data
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Apr 15, 2023
1 parent 11af037 commit c86666f
Show file tree
Hide file tree
Showing 4 changed files with 3,245 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
public class GenReport {
public void gen() throws Exception {
File dir = new File("/Users/wenshao/Work/git/fastjson2/docs/benchmark/");
File file = new File(dir, "benchmark_2.0.27_raw.md");
File outFile = new File(dir, "benchmark_2.0.27.md");
File file = new File(dir, "benchmark_2.0.28_raw.md");
File outFile = new File(dir, "benchmark_2.0.28.md");

Map<String, BenchmarkResult> benchResults = new LinkedHashMap<>();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@

public class ReadResult {
public static void main(String[] args) throws Exception {
File outFile = new File("/Users/wenshao/Work/git/fastjson2/docs/benchmark/benchmark_2.0.27_raw.md");
File outFile = new File("/Users/wenshao/Work/git/fastjson2/docs/benchmark/benchmark_2.0.28_raw.md");
// File file = new File("/Users/wenshao/Downloads/result_2.0.25.out");

Map<String, String> files = new LinkedHashMap<>();
files.put("ecs.g7.xlarge", "/Users/wenshao/Downloads/result_2.0.27_g7.out");
files.put("ecs.g7a.xlarge", "/Users/wenshao/Downloads/result_2.0.27_g7a.out");
files.put("ecs.g8m.xlarge", "/Users/wenshao/Downloads/result_2.0.27_g8m.out");
files.put("OrangePI5", "/Users/wenshao/Downloads/result_2.0.27_orangepi5.out");
files.put("AppleM1Pro", "/Users/wenshao/Downloads/result_2.0.27_applem1pro.out");
files.put("MacBookPro2016", "/Users/wenshao/Downloads/result_2.0.27_mac_book_pro_2019_i9.out");
files.put("ecs.g7.xlarge", "/Users/wenshao/Downloads/result_2.0.28_g7.out");
files.put("ecs.g7a.xlarge", "/Users/wenshao/Downloads/result_2.0.28_g7a.out");
files.put("ecs.g8m.xlarge", "/Users/wenshao/Downloads/result_2.0.28_g8m.out");
files.put("OrangePI5", "/Users/wenshao/Downloads/result_2.0.28_orangepi5.out");
files.put("AppleM1Pro", "/Users/wenshao/Downloads/result_2.0.28_applem1pro.out");
files.put("MacBookPro2016", "/Users/wenshao/Downloads/result_2.0.28_mac_book_pro_2019_i9.out");

PrintStream out = new PrintStream(new FileOutputStream(outFile));
files.forEach((k, v) -> {
Expand Down
Loading

0 comments on commit c86666f

Please sign in to comment.