From eb70e972b279944fc21d35f53967763cad27a499 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Mon, 5 Oct 2026 08:52:00 +0000 Subject: [PATCH] =?UTF-8?q?bench:=20=E5=9B=9B=E4=BE=8B=E5=A2=99=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=88=97=E9=87=8D=E9=94=9A=EF=BC=88=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E5=90=8E=E5=90=8C=E5=AE=BF=E4=B8=BB=E4=B8=89=E8=BD=AE=E4=B8=AD?= =?UTF-8?q?=E4=BD=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BENCHMARK_BASELINE.md | 8 ++++---- benchmark_baseline.json | 24 ++++++++++++------------ 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/BENCHMARK_BASELINE.md b/BENCHMARK_BASELINE.md index 579d165f..56495d18 100644 --- a/BENCHMARK_BASELINE.md +++ b/BENCHMARK_BASELINE.md @@ -8,7 +8,7 @@ array_index_set 99.04 0.459 98.580 151703 array_join 528.47 0.292 528.180 4140029 0 100.0% 20000 12580000 12580000 339 array_literal 88.14 0.277 87.860 1500025 0 100.0% 50000 9200000 9200000 184 array_map 631.64 0.342 631.297 55739 0 99.9% 208001 30079960 30079960 4568 -array_push_pop 1302.72 0.315 1302.406 10200029 0 100.0% 50000 28900000 28900000 552 +array_push_pop 1622.04 0.702 1621.333 10200029 0 100.0% 50000 28900000 28900000 552 array_reduce 641.32 0.397 640.924 57739 0 99.9% 204001 27887960 27887960 2384 array_slice 80.96 0.400 80.562 79739 0 99.9% 6001 13689960 13689960 4568 array_sort 136.78 0.392 136.393 17939 0 99.7% 51501 9168960 9168960 4568 @@ -18,7 +18,7 @@ call_args 97.78 0.382 97.402 88002 call_closure 68.18 0.380 67.797 500044 0 0.0% 20005 2720749 2720749 1461 call_method 76.45 0.276 76.173 580032 0 50.0% 20003 2720443 2720443 907 call_new_proto 140.64 0.319 140.319 800037 0 33.3% 60004 8160614 8160614 1694 -call_recursion 1099.77 0.312 1099.453 5527429 2 0.0% 147881 20112435 33554499 715 +call_recursion 1340.87 0.475 1340.390 5527429 2 0.0% 147881 20112435 33554499 715 call_this 127.80 0.362 127.435 780034 0 50.0% 40005 5440760 5440760 1632 cmp_ops 440.02 0.251 439.772 5800025 0 0.0% 0 0 0 0 code_forge 806.48 0.271 806.205 110018 0 0.0% 10000 1651670 1651670 0 @@ -42,7 +42,7 @@ loop_for_of_string 245.23 0.418 244.811 272633 loop_index 424.71 0.471 424.236 6367739 0 100.0% 1 3960 3960 1184 loop_while 1267.14 0.314 1266.828 16000023 0 0.0% 0 0 0 0 loop_while_index 425.69 0.693 424.997 6667739 0 100.0% 1 3960 3960 1184 -map_ops 783.05 0.476 782.577 12650027 0 100.0% 100000 17200000 17200000 816 +map_ops 990.11 0.563 989.750 12650027 0 100.0% 100000 17200000 17200000 816 math_ops 466.85 0.456 466.398 6500023 0 0.0% 0 0 0 0 mem_array_grow 386.97 0.287 386.680 3800024 0 0.0% 1 160 2097312 2097312 mem_closure_chain 140.77 0.650 140.116 590034 0 0.0% 80000 12558890 12558890 10079778 @@ -61,7 +61,7 @@ prop_dynamic 77.89 0.301 77.589 110002 prop_nested 132.86 0.347 132.517 1550025 0 100.0% 150000 20400000 20400000 576 prop_set 206.53 0.272 206.255 3200032 0 100.0% 1 136 192 192 property 154.87 0.414 154.459 111035 0 0.0% 1 231916 231916 32928 -set_ops 683.32 0.399 682.919 9950027 0 90.9% 100000 17200000 17200000 320 +set_ops 839.03 0.494 838.094 9950027 0 90.9% 100000 17200000 17200000 320 string_build 1809.32 0.451 1808.872 16560027 4 0.0% 0 6791197 33554520 122 string_case 186.69 0.359 186.329 1600028 0 0.0% 0 7600000 7600000 0 string_char 311.22 0.266 310.953 3800025 0 0.0% 0 0 0 0 diff --git a/benchmark_baseline.json b/benchmark_baseline.json index fd47e575..8453d662 100644 --- a/benchmark_baseline.json +++ b/benchmark_baseline.json @@ -169,7 +169,7 @@ }, { "test_name": "array_push_pop", - "wall_time_us": 1302721, + "wall_time_us": 1622035, "session_objects": 50000, "session_bytes": 28900000, "epoch_objects": 0, @@ -179,8 +179,8 @@ "gc_objects_scanned": 0, "gc_collection_us": 0, "instruction_count": 10200029, - "compile_time_us": 315, - "exec_time_us": 1302406, + "compile_time_us": 702, + "exec_time_us": 1621333, "ic_hit_rate": 0.9999963636363637, "ic_hits": 549998, "ic_misses": 2, @@ -379,7 +379,7 @@ }, { "test_name": "call_recursion", - "wall_time_us": 1099766, + "wall_time_us": 1340865, "session_objects": 147881, "session_bytes": 20112435, "epoch_objects": 0, @@ -389,8 +389,8 @@ "gc_objects_scanned": 246724, "gc_collection_us": 127849, "instruction_count": 5527429, - "compile_time_us": 312, - "exec_time_us": 1099453, + "compile_time_us": 475, + "exec_time_us": 1340390, "ic_hit_rate": 0.0, "ic_hits": 0, "ic_misses": 0, @@ -883,7 +883,7 @@ }, { "test_name": "map_ops", - "wall_time_us": 783054, + "wall_time_us": 990111, "session_objects": 100000, "session_bytes": 17200000, "epoch_objects": 0, @@ -893,8 +893,8 @@ "gc_objects_scanned": 0, "gc_collection_us": 0, "instruction_count": 12650027, - "compile_time_us": 476, - "exec_time_us": 782577, + "compile_time_us": 563, + "exec_time_us": 989750, "ic_hit_rate": 0.9999963636363637, "ic_hits": 549998, "ic_misses": 2, @@ -1282,7 +1282,7 @@ }, { "test_name": "set_ops", - "wall_time_us": 683318, + "wall_time_us": 839028, "session_objects": 100000, "session_bytes": 17200000, "epoch_objects": 0, @@ -1292,8 +1292,8 @@ "gc_objects_scanned": 0, "gc_collection_us": 0, "instruction_count": 9950027, - "compile_time_us": 399, - "exec_time_us": 682919, + "compile_time_us": 494, + "exec_time_us": 838094, "ic_hit_rate": 0.909089090909091, "ic_hits": 499999, "ic_misses": 50001,