From 93d8d3a7dc7b16366ed1bec769519f70bd38256a Mon Sep 17 00:00:00 2001 From: antv Date: Thu, 22 Aug 2024 20:41:54 +0800 Subject: [PATCH] perf: update iperf version and generate new report --- package.json | 2 +- .../9821ed36_2024-08-19_16:33:46.json | 229 ------------------ .../9821ed36_2024-08-22_20:39:12.json | 214 ++++++++++++++++ 3 files changed, 215 insertions(+), 230 deletions(-) delete mode 100644 packages/g6/__tests__/perf-report/9821ed36_2024-08-19_16:33:46.json create mode 100644 packages/g6/__tests__/perf-report/9821ed36_2024-08-22_20:39:12.json diff --git a/package.json b/package.json index e0f19a72be7..e809e4c84f5 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,7 @@ "eslint": "^8.57.0", "eslint-plugin-jsdoc": "^46.10.1", "husky": "^8.0.3", - "iperf": "^0.1.0-beta.7", + "iperf": "^0.1.0-beta.11", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jsdom": "^23.2.0", diff --git a/packages/g6/__tests__/perf-report/9821ed36_2024-08-19_16:33:46.json b/packages/g6/__tests__/perf-report/9821ed36_2024-08-19_16:33:46.json deleted file mode 100644 index fc93c29be1d..00000000000 --- a/packages/g6/__tests__/perf-report/9821ed36_2024-08-19_16:33:46.json +++ /dev/null @@ -1,229 +0,0 @@ -{ - "version": "1.0", - "device": { - "os": { - "arch": "arm64", - "distro": "macOS", - "serial": "9821ed36011eee5abf6c71d6fc2c03fb4bf4655e674c56b7f50e2560cb6e924a" - }, - "cpu": { - "manufacturer": "Apple", - "brand": "M1 Pro", - "speed": 2.4, - "cores": 10 - }, - "memory": { - "total": 16384, - "free": 58.015625 - }, - "gpu": { - "vendor": "Apple", - "model": "Apple M1 Pro", - "cores": "16" - } - }, - "repo": "ab97b6a84c9b1ac7f599e34568714376278583f0", - "client": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36", - "reports": { - "dataDiff1000": { - "time": [ - { - "min": 1.8999999999068677, - "max": 9, - "median": 2.8999999999068677, - "avg": 7.25, - "variance": 32.390000000039585, - "reliable": false, - "memory": 30.162158966064453, - "key": "data diff" - } - ], - "status": "passed" - }, - "dataDiff10000": { - "time": [ - { - "min": 12.199999999953434, - "max": 7.900000000139698, - "median": 6.7999999998137355, - "avg": 6.324999999982538, - "variance": 1.35437500005326, - "reliable": true, - "memory": 62.23182191848755, - "key": "data diff" - } - ], - "status": "passed" - }, - "dataDiff100000": { - "time": [ - { - "min": 29.300000000046566, - "max": 67.10000000009313, - "median": 36.10000000009313, - "avg": 35.64999999999418, - "variance": 16.877500000362634, - "reliable": true, - "memory": 369.5241134643555, - "key": "data diff" - } - ], - "status": "passed" - }, - "dataDiff5000": { - "time": [ - { - "min": 2.6000000000931323, - "max": 7.599999999860302, - "median": 3, - "avg": 3.5125000000116415, - "variance": 2.188593750007858, - "reliable": false, - "memory": 585.6023946762085, - "key": "data diff" - } - ], - "status": "passed" - }, - "dataDiff50000": { - "time": [ - { - "min": 13.699999999953434, - "max": 55.199999999953434, - "median": 17.600000000093132, - "avg": 22.66250000000582, - "variance": 132.55484375006213, - "reliable": true, - "memory": 722.3826655387878, - "key": "data diff" - } - ], - "status": "passed" - }, - "elementDrawing100": { - "time": [ - { - "min": 10.5, - "max": 9.5, - "median": 15.800000000046566, - "avg": 16.57500000006985, - "variance": 163.99937499927708, - "reliable": true, - "memory": 826.2329563140869, - "key": "element drawing" - }, - { - "min": 10.399999999906868, - "max": 8.5, - "median": 7.7999999998137355, - "avg": 8.450000000011642, - "variance": 4.637500000128056, - "reliable": true, - "memory": 826.4959269523621, - "key": "grid layout" - } - ], - "status": "passed" - }, - "elementDrawing1000": { - "time": [ - { - "min": 100.79999999981374, - "max": 84.69999999995343, - "median": 117.39999999990687, - "avg": 100.46250000002328, - "variance": 255.6148437497992, - "reliable": true, - "memory": 830.0374026298523, - "key": "element drawing" - }, - { - "min": 59.5999999998603, - "max": 77.29999999981374, - "median": 67.30000000004657, - "avg": 66.9375000000291, - "variance": 12.824843750080472, - "reliable": true, - "memory": 829.3771424293518, - "key": "grid layout" - } - ], - "status": "passed" - }, - "elementDrawing10000": { - "time": [ - { - "min": 416.30000000004657, - "max": 649.0999999998603, - "median": 596.5, - "avg": 593.7874999999185, - "variance": 450.70359375090015, - "reliable": true, - "memory": 1099.1369720458983, - "key": "element drawing" - }, - { - "min": 352.60000000009313, - "max": 377.70000000018626, - "median": 366.5, - "avg": 366.3125, - "variance": 5.318593750001164, - "reliable": true, - "memory": 1131.638009262085, - "key": "grid layout" - } - ], - "status": "passed" - }, - "elementDrawing500": { - "time": [ - { - "min": 126.39999999990687, - "max": 49.60000000009313, - "median": 42.300000000046566, - "avg": 40.97500000000582, - "variance": 7.959374999943247, - "reliable": true, - "memory": 1362.0711398124695, - "key": "element drawing" - }, - { - "min": 29.300000000046566, - "max": 42.89999999990687, - "median": 34.39999999990687, - "avg": 34.299999999959255, - "variance": 5.03999999981257, - "reliable": true, - "memory": 1362.0711398124695, - "key": "grid layout" - } - ], - "status": "passed" - }, - "elementDrawing5000": { - "time": [ - { - "min": 381.19999999995343, - "max": 548.1999999999534, - "median": 408.80000000004657, - "avg": 428.375, - "variance": 1986.7618749965764, - "reliable": true, - "memory": 1483.8886072158814, - "key": "element drawing" - }, - { - "min": 208.19999999995343, - "max": 291.80000000004657, - "median": 264.60000000009313, - "avg": 262.70000000001164, - "variance": 166.63749999852735, - "reliable": true, - "memory": 1479.9850234985352, - "key": "grid layout" - } - ], - "status": "passed" - } - } -} diff --git a/packages/g6/__tests__/perf-report/9821ed36_2024-08-22_20:39:12.json b/packages/g6/__tests__/perf-report/9821ed36_2024-08-22_20:39:12.json new file mode 100644 index 00000000000..7498cc3cf3f --- /dev/null +++ b/packages/g6/__tests__/perf-report/9821ed36_2024-08-22_20:39:12.json @@ -0,0 +1,214 @@ +{ + "version": "1.0", + "device": { + "os": { + "arch": "arm64", + "distro": "macOS", + "serial": "9821ed36011eee5abf6c71d6fc2c03fb4bf4655e674c56b7f50e2560cb6e924a" + }, + "cpu": { + "manufacturer": "Apple", + "brand": "M1 Pro", + "speed": 2.4, + "cores": 10 + }, + "memory": { + "total": 16384, + "free": 296.6875 + }, + "gpu": { + "vendor": "Apple", + "model": "Apple M1 Pro", + "cores": "16" + } + }, + "repo": "489f27b5c3ef49746516811e1012c88aadd61c4f", + "client": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/128.0.6613.18 Safari/537.36", + "reports": { + "dataDiff1000": { + "time": [ + { + "min": 1.9000000059604645, + "max": 16.19999998807907, + "median": 2.399999976158142, + "avg": 3, + "variance": 3.3875000156462196, + "reliable": false, + "key": "data diff" + } + ], + "status": "passed" + }, + "dataDiff10000": { + "time": [ + { + "min": 1.9000000059604645, + "max": 9.799999982118607, + "median": 4.399999976158142, + "avg": 4.237500000745058, + "variance": 4.7523437567986555, + "reliable": false, + "key": "data diff" + } + ], + "status": "passed" + }, + "dataDiff100000": { + "time": [ + { + "min": 11.300000011920929, + "max": 38, + "median": 12.400000005960464, + "avg": 15.299999997019768, + "variance": 31.937499957531692, + "reliable": true, + "key": "data diff" + } + ], + "status": "passed" + }, + "dataDiff5000": { + "time": [ + { + "min": 1.5999999940395355, + "max": 9.699999988079071, + "median": 3.2999999821186066, + "avg": 3.649999998509884, + "variance": 2.9674999792873864, + "reliable": false, + "key": "data diff" + } + ], + "status": "passed" + }, + "dataDiff50000": { + "time": [ + { + "min": 5.700000017881393, + "max": 16.099999994039536, + "median": 7.5999999940395355, + "avg": 8.825000006705523, + "variance": 11.751875018589198, + "reliable": true, + "key": "data diff" + } + ], + "status": "passed" + }, + "elementDrawing100": { + "time": [ + { + "min": 9.400000005960464, + "max": 20, + "median": 10.300000011920929, + "avg": 10.68750000372529, + "variance": 1.1235937587358058, + "reliable": true, + "key": "element drawing" + }, + { + "min": 6.699999988079071, + "max": 9.899999976158142, + "median": 8.5, + "avg": 8.024999998509884, + "variance": 0.67437500230968, + "reliable": true, + "key": "grid layout" + } + ], + "status": "passed" + }, + "elementDrawing1000": { + "time": [ + { + "min": 41.69999998807907, + "max": 64.7000000178814, + "median": 51.5, + "avg": 49.899999998509884, + "variance": 43.767499907016756, + "reliable": true, + "key": "element drawing" + }, + { + "min": 37, + "max": 59.400000005960464, + "median": 42, + "avg": 42.11250000447035, + "variance": 6.611093760319055, + "reliable": true, + "key": "grid layout" + } + ], + "status": "passed" + }, + "elementDrawing10000": { + "time": [ + { + "min": 410.30000001192093, + "max": 529.0999999940395, + "median": 424.40000000596046, + "avg": 433.4375000037253, + "variance": 516.2098438784666, + "reliable": true, + "key": "element drawing" + }, + { + "min": 377.19999998807907, + "max": 420.09999999403954, + "median": 390.2000000178814, + "avg": 391.2000000067055, + "variance": 151.5974999138713, + "reliable": true, + "key": "grid layout" + } + ], + "status": "passed" + }, + "elementDrawing500": { + "time": [ + { + "min": 22.599999994039536, + "max": 42.599999994039536, + "median": 30.69999998807907, + "avg": 30.649999998509884, + "variance": 41.58999999597668, + "reliable": true, + "key": "element drawing" + }, + { + "min": 21.399999976158142, + "max": 29, + "median": 23.30000001192093, + "avg": 23.962499998509884, + "variance": 4.732343725003302, + "reliable": true, + "key": "grid layout" + } + ], + "status": "passed" + }, + "elementDrawing5000": { + "time": [ + { + "min": 201.69999998807907, + "max": 253.39999997615814, + "median": 208.09999999403954, + "avg": 216.7749999947846, + "variance": 218.39187494117766, + "reliable": true, + "key": "element drawing" + }, + { + "min": 188.10000002384186, + "max": 227.90000000596046, + "median": 197.09999999403954, + "avg": 196.08749999850988, + "variance": 24.878593807034196, + "reliable": true, + "key": "grid layout" + } + ], + "status": "passed" + } + } +}