From 65d4ffc7d09c45c79f4535226b91a1a4cdf148c5 Mon Sep 17 00:00:00 2001 From: pajjilykk Date: Wed, 6 May 2026 10:59:59 +0700 Subject: [PATCH] Update benchmark.py --- 2/benchmark.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/2/benchmark.py b/2/benchmark.py index ecc4cd3..25030a9 100644 --- a/2/benchmark.py +++ b/2/benchmark.py @@ -26,12 +26,12 @@ def run_test(n, threads, threshold): def build_benchmark(): data_sizes = { "Small (10^5)": 100000, - "Medium (2*10^6)": 2000000, - "Large (5*10^6)": 5000000, + "Medium (10^6)": 1000000, + "Large (10^7)": 10000000, } threshold = 10000 - thread_counts = [1, 2, 4, 8, 12, 16] + thread_counts = [1, 2, 4, 8, 12, 16, 32, 64, 128, 256] plt.figure(figsize=(14, 6)) ax1 = plt.subplot(1, 2, 1)