From 682885b3d0c643dc1f4f53c7fbfcf75e3a0ad247 Mon Sep 17 00:00:00 2001 From: limin Date: Wed, 19 Jul 2023 01:18:36 -0700 Subject: [PATCH] fix: git clone failed on windows due to filename contains character : (#5330) * fix: git clone failed on windows due to filename contains character : * fix: modify performance reports file name rule. --- ...-2-27_11:30:9.json => intervalAlphabet-2023-2-27.json} | 2 +- ...2023-3-9_16:2:54.csv => intervalAlphabet-2023-3-9.csv} | 2 +- ...2-27_11:30:1.json => pointTemperatures-2023-2-27.json} | 2 +- .../reports/pointTemperatures-2023-2-27_10:19:34.json | 1 - .../reports/pointTemperatures-2023-2-27_10:19:47.json | 1 - ...rer-2023-2-27_13:2:53.json => renderer-2023-2-27.json} | 0 ...enderer-2023-3-9_16:3:37.csv => renderer-2023-3-9.csv} | 2 +- scripts/bench/server.ts | 8 +------- 8 files changed, 5 insertions(+), 13 deletions(-) rename scripts/bench/reports/{intervalAlphabet-2023-2-27_11:30:9.json => intervalAlphabet-2023-2-27.json} (93%) rename scripts/bench/reports/{intervalAlphabet-2023-3-9_16:2:54.csv => intervalAlphabet-2023-3-9.csv} (87%) rename scripts/bench/reports/{pointTemperatures-2023-2-27_11:30:1.json => pointTemperatures-2023-2-27.json} (91%) delete mode 100644 scripts/bench/reports/pointTemperatures-2023-2-27_10:19:34.json delete mode 100644 scripts/bench/reports/pointTemperatures-2023-2-27_10:19:47.json rename scripts/bench/reports/{renderer-2023-2-27_13:2:53.json => renderer-2023-2-27.json} (100%) rename scripts/bench/reports/{renderer-2023-3-9_16:3:37.csv => renderer-2023-3-9.csv} (98%) diff --git a/scripts/bench/reports/intervalAlphabet-2023-2-27_11:30:9.json b/scripts/bench/reports/intervalAlphabet-2023-2-27.json similarity index 93% rename from scripts/bench/reports/intervalAlphabet-2023-2-27_11:30:9.json rename to scripts/bench/reports/intervalAlphabet-2023-2-27.json index 0385700bd6..6dde67b19c 100644 --- a/scripts/bench/reports/intervalAlphabet-2023-2-27_11:30:9.json +++ b/scripts/bench/reports/intervalAlphabet-2023-2-27.json @@ -1 +1 @@ -[{"name":"d3SVG","entryType":"measure","startTime":2374.7999999970198,"duration":7},{"name":"d3GSVG","entryType":"measure","startTime":2382.4000000059605,"duration":45.599999994039536},{"name":"d3GCanvas","entryType":"measure","startTime":2428.2000000029802,"duration":17.599999994039536},{"name":"g2V4Canvas","entryType":"measure","startTime":2446,"duration":17},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":2463.1000000089407,"duration":60.19999998807907},{"name":"vegaLiteSVG","entryType":"measure","startTime":2523.5,"duration":27.900000005960464},{"name":"plotSVG","entryType":"measure","startTime":2551.5,"duration":7.600000008940697},{"name":"echartsCanvas","entryType":"measure","startTime":2559.4000000059605,"duration":20.5}] \ No newline at end of file +[{"name":"d3SVG","entryType":"measure","startTime":2374.7999999970198,"duration":7},{"name":"d3GSVG","entryType":"measure","startTime":2382.4000000059605,"duration":45.599999994039536},{"name":"d3GCanvas","entryType":"measure","startTime":2428.2000000029802,"duration":17.599999994039536},{"name":"g2V4Canvas","entryType":"measure","startTime":2446,"duration":17},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":2463.1000000089407,"duration":60.19999998807907},{"name":"vegaLiteSVG","entryType":"measure","startTime":2523.5,"duration":27.900000005960464},{"name":"plotSVG","entryType":"measure","startTime":2551.5,"duration":7.600000008940697},{"name":"echartsCanvas","entryType":"measure","startTime":2559.4000000059605,"duration":20.5}] diff --git a/scripts/bench/reports/intervalAlphabet-2023-3-9_16:2:54.csv b/scripts/bench/reports/intervalAlphabet-2023-3-9.csv similarity index 87% rename from scripts/bench/reports/intervalAlphabet-2023-3-9_16:2:54.csv rename to scripts/bench/reports/intervalAlphabet-2023-3-9.csv index 949e935659..a9c01b83be 100644 --- a/scripts/bench/reports/intervalAlphabet-2023-3-9_16:2:54.csv +++ b/scripts/bench/reports/intervalAlphabet-2023-3-9.csv @@ -6,4 +6,4 @@ g2V4Canvas,measure,3059.1999999999534,42.200000000186265 g2V5CanvasSpec,measure,3101.600000000093,158.5 vegaLiteSVG,measure,3260.3000000000466,44.10000000009313 plotSVG,measure,3304.600000000093,17.0999999998603 -echartsCanvas,measure,3322.100000000093,32.5999999998603 \ No newline at end of file +echartsCanvas,measure,3322.100000000093,32.5999999998603 diff --git a/scripts/bench/reports/pointTemperatures-2023-2-27_11:30:1.json b/scripts/bench/reports/pointTemperatures-2023-2-27.json similarity index 91% rename from scripts/bench/reports/pointTemperatures-2023-2-27_11:30:1.json rename to scripts/bench/reports/pointTemperatures-2023-2-27.json index 25eae4626d..ca7fd30af8 100644 --- a/scripts/bench/reports/pointTemperatures-2023-2-27_11:30:1.json +++ b/scripts/bench/reports/pointTemperatures-2023-2-27.json @@ -1 +1 @@ -[{"name":"d3SVG","entryType":"measure","startTime":1022.8999999910593,"duration":11.600000008940697},{"name":"d3GCanvas","entryType":"measure","startTime":1035.0999999940395,"duration":85.70000000298023},{"name":"g2V4Canvas","entryType":"measure","startTime":1121,"duration":53.79999999701977},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":1175,"duration":149.3999999910593},{"name":"vegaLiteSVG","entryType":"measure","startTime":1324.5999999940395,"duration":37.29999999701977},{"name":"plotSVG","entryType":"measure","startTime":1362.0999999940395,"duration":10.299999997019768},{"name":"echartsCanvas","entryType":"measure","startTime":1372.699999988079,"duration":43.70000000298023}] \ No newline at end of file +[{"name":"d3SVG","entryType":"measure","startTime":1022.8999999910593,"duration":11.600000008940697},{"name":"d3GCanvas","entryType":"measure","startTime":1035.0999999940395,"duration":85.70000000298023},{"name":"g2V4Canvas","entryType":"measure","startTime":1121,"duration":53.79999999701977},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":1175,"duration":149.3999999910593},{"name":"vegaLiteSVG","entryType":"measure","startTime":1324.5999999940395,"duration":37.29999999701977},{"name":"plotSVG","entryType":"measure","startTime":1362.0999999940395,"duration":10.299999997019768},{"name":"echartsCanvas","entryType":"measure","startTime":1372.699999988079,"duration":43.70000000298023}] diff --git a/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:34.json b/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:34.json deleted file mode 100644 index 3d0817aa08..0000000000 --- a/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:34.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"d3SVG","entryType":"measure","startTime":5510,"duration":7.799999997019768},{"name":"d3GCanvas","entryType":"measure","startTime":5518.29999999702,"duration":104.29999999701977},{"name":"g2V4Canvas","entryType":"measure","startTime":5622.89999999851,"duration":211.39999999850988},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":5834.5,"duration":999.0999999940395},{"name":"vegaLiteSVG","entryType":"measure","startTime":6833.79999999702,"duration":38.79999999701977},{"name":"plotSVG","entryType":"measure","startTime":6872.89999999851,"duration":10.5},{"name":"echartsCanvas","entryType":"measure","startTime":6883.79999999702,"duration":46}] \ No newline at end of file diff --git a/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:47.json b/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:47.json deleted file mode 100644 index 687ef1c1eb..0000000000 --- a/scripts/bench/reports/pointTemperatures-2023-2-27_10:19:47.json +++ /dev/null @@ -1 +0,0 @@ -[{"name":"d3SVG","entryType":"measure","startTime":2158.60000000149,"duration":12.600000001490116},{"name":"d3GCanvas","entryType":"measure","startTime":2171.8000000044703,"duration":116},{"name":"g2V4Canvas","entryType":"measure","startTime":2288.2000000029802,"duration":204.39999999850988},{"name":"g2V5CanvasSpec","entryType":"measure","startTime":2492.8000000044703,"duration":136.5},{"name":"vegaLiteSVG","entryType":"measure","startTime":2629.5,"duration":37.5},{"name":"plotSVG","entryType":"measure","startTime":2667.2000000029802,"duration":10.600000001490116},{"name":"echartsCanvas","entryType":"measure","startTime":2678.2000000029802,"duration":45.29999999701977}] \ No newline at end of file diff --git a/scripts/bench/reports/renderer-2023-2-27_13:2:53.json b/scripts/bench/reports/renderer-2023-2-27.json similarity index 100% rename from scripts/bench/reports/renderer-2023-2-27_13:2:53.json rename to scripts/bench/reports/renderer-2023-2-27.json diff --git a/scripts/bench/reports/renderer-2023-3-9_16:3:37.csv b/scripts/bench/reports/renderer-2023-3-9.csv similarity index 98% rename from scripts/bench/reports/renderer-2023-3-9_16:3:37.csv rename to scripts/bench/reports/renderer-2023-3-9.csv index 4702a0b79f..3d8b8c4029 100644 --- a/scripts/bench/reports/renderer-2023-3-9_16:3:37.csv +++ b/scripts/bench/reports/renderer-2023-3-9.csv @@ -58,4 +58,4 @@ g,Rect,885.8999999999069,100000 g,Text,883.4000000001397,100000 g-4.0,Circle,8.600000000093132,100000 g-4.0,Rect,0.4000000001396984,100000 -g-4.0,Text,8.399999999906868,100000 \ No newline at end of file +g-4.0,Text,8.399999999906868,100000 diff --git a/scripts/bench/server.ts b/scripts/bench/server.ts index a0777fa75c..2d84381db1 100644 --- a/scripts/bench/server.ts +++ b/scripts/bench/server.ts @@ -18,13 +18,7 @@ const now = () => { '-' + (currentdate.getMonth() + 1) + '-' + - currentdate.getDate() + - '_' + - currentdate.getHours() + - ':' + - currentdate.getMinutes() + - ':' + - currentdate.getSeconds(); + currentdate.getDate(); return datetime; };