From 04388ec1b1748f83dbd06abcce3c1eaa545e0bb9 Mon Sep 17 00:00:00 2001 From: ernisto Date: Fri, 11 Apr 2025 14:07:36 -0300 Subject: [PATCH] test: benchmark `update all parents of 500->1 graph` now have 1000 dependencies --- test/benchmarks.luau | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/benchmarks.luau b/test/benchmarks.luau index b352aea..de75bb0 100644 --- a/test/benchmarks.luau +++ b/test/benchmarks.luau @@ -153,21 +153,21 @@ ROOT_BENCH("update 1000->1 graph", function() end end) -ROOT_BENCH("update all parents of 500->1 graph", function() +ROOT_BENCH("update all parents of 1000->1 graph", function() local srcs = {} - for i = 1, 500 do + for i = 1, 1000 do srcs[i] = source(0) end derive(function() - for i = 1, 500 do + for i = 1, 1000 do srcs[i]() end return false end) for i = 1, START(1) do - for idx = 1, 500 do + for idx = 1, 1000 do srcs[idx](i) end end