From 4d880c34c9f39c32ac6b9c4583014c9d364a25d6 Mon Sep 17 00:00:00 2001 From: pjh456 <147148383@qq.com> Date: Mon, 14 Sep 2026 12:37:07 +0000 Subject: [PATCH] =?UTF-8?q?bench:=20=E9=87=8D=E9=94=9A=20mem=20=E4=B8=89?= =?UTF-8?q?=E4=BE=8B=E5=9F=BA=E7=BA=BF=E5=86=85=E5=AD=98=E5=AD=97=E6=AE=B5?= =?UTF-8?q?=E8=87=B3=E7=8E=B0=E8=A1=8C=E8=B4=A6=E7=9B=AE=E5=8F=A3=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- BENCHMARK_BASELINE.md | 6 +++--- benchmark_baseline.json | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/BENCHMARK_BASELINE.md b/BENCHMARK_BASELINE.md index 2bca5573..14ffb842 100644 --- a/BENCHMARK_BASELINE.md +++ b/BENCHMARK_BASELINE.md @@ -45,10 +45,10 @@ loop_while_index 314.96 0.000 314.961 364924 map_ops 232.57 0.001 232.570 9850030 0 69.4% 50000 9600000 9600000 544 math_ops 130.99 0.000 130.987 4800026 0 71.6% 0 0 0 0 mem_array_grow 200.91 0.000 200.915 2800026 0 71.6% 1 144 8288 8288 -mem_closure_chain 86.90 0.000 86.901 480040 0 71.6% 40000 1278890 8799386 8799386 -mem_cross_call_retain 159.32 0.001 159.322 1380034 0 70.4% 4 2670485 7951253 7951253 +mem_closure_chain 86.90 0.000 86.901 480040 0 71.6% 40000 6078890 9199546 9199546 +mem_cross_call_retain 159.32 0.001 159.322 1380034 0 70.4% 30004 7710725 7950949 7950949 mem_map_retain 42.20 0.001 42.194 500023 0 69.9% 1 1977972 4609319 4609319 -mem_object_graph 111.83 0.001 111.828 884726 0 70.0% 32769 5504888 11010200 11010200 +mem_object_graph 111.83 0.001 111.828 884726 0 70.0% 32769 5505128 11010200 11010200 mem_set_retain 32.60 0.001 32.603 360023 0 70.1% 1 1089082 4449274 4449274 mem_string_accum 69.16 0.000 69.162 760022 0 70.2% 1 2744617 3064761 3064761 mem_string_rope 0.55 0.000 0.547 10028 1 70.2% 0 62108000 62108000 62108000 diff --git a/benchmark_baseline.json b/benchmark_baseline.json index d56190cd..3c330926 100644 --- a/benchmark_baseline.json +++ b/benchmark_baseline.json @@ -948,7 +948,7 @@ "test_name": "mem_closure_chain", "wall_time_us": 86903, "session_objects": 40000, - "session_bytes": 1278890, + "session_bytes": 6078890, "epoch_objects": 40000, "epoch_bytes": 0, "gc_trigger_count": 0, @@ -961,15 +961,15 @@ "ic_hit_rate": 0.7155420580096018, "ic_hits": 26212332, "ic_misses": 10420500, - "peak_bytes": 8799386, - "retained_bytes": 8799386, + "peak_bytes": 9199546, + "retained_bytes": 9199546, "retained_objects": 40002 }, { "test_name": "mem_cross_call_retain", "wall_time_us": 159323, - "session_objects": 4, - "session_bytes": 2670485, + "session_objects": 30004, + "session_bytes": 7710725, "epoch_objects": 60002, "epoch_bytes": 0, "gc_trigger_count": 0, @@ -982,8 +982,8 @@ "ic_hit_rate": 0.7044168668585105, "ic_hits": 26437332, "ic_misses": 11095515, - "peak_bytes": 7951253, - "retained_bytes": 7951253, + "peak_bytes": 7950949, + "retained_bytes": 7950949, "retained_objects": 30006 }, { @@ -1011,7 +1011,7 @@ "test_name": "mem_object_graph", "wall_time_us": 111829, "session_objects": 32769, - "session_bytes": 5504888, + "session_bytes": 5505128, "epoch_objects": 65534, "epoch_bytes": 0, "gc_trigger_count": 0,