From d3c0f5ddbcb8a3cfc99c5e87d67fa812a3fce8de Mon Sep 17 00:00:00 2001 From: Taiyou06 Date: Wed, 19 Mar 2025 13:01:41 +0100 Subject: [PATCH] [ci skip] update benchmark numbers properly --- .../0090-Smart-sort-entities-in-NearestLivingEntitySensor.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaf-server/minecraft-patches/features/0090-Smart-sort-entities-in-NearestLivingEntitySensor.patch b/leaf-server/minecraft-patches/features/0090-Smart-sort-entities-in-NearestLivingEntitySensor.patch index 876cc483..0fedddc9 100644 --- a/leaf-server/minecraft-patches/features/0090-Smart-sort-entities-in-NearestLivingEntitySensor.patch +++ b/leaf-server/minecraft-patches/features/0090-Smart-sort-entities-in-NearestLivingEntitySensor.patch @@ -8,7 +8,7 @@ Co-authored-by: Taiyou06 FastBitRadix Sort will be used. (see https://ieeexplore.ieee.org/document/7822019 for more) When entity count reached the threshold, Bucket Sort will be used. -In non-strict test, this can give ~60-110% improvement (14MSPT -> 10.5MSPT), +In non-strict test, this can give ~60-110% improvement (524ms on Paper, 204ms on Leaf), under 625 villagers situation. diff --git a/net/minecraft/world/entity/ai/sensing/NearestLivingEntitySensor.java b/net/minecraft/world/entity/ai/sensing/NearestLivingEntitySensor.java