diff --git a/Objet/__pycache__/Main.cpython-311.pyc b/Objet/__pycache__/Main.cpython-311.pyc index 6c36253f77e5d7c3c77b1afea31dfd4593f3c8ea..9650b6d6c710b4caf08a34c7840b5ab85e5d5f0e 100644 Binary files a/Objet/__pycache__/Main.cpython-311.pyc and b/Objet/__pycache__/Main.cpython-311.pyc differ diff --git a/Objet/__pycache__/gestion_clavier.cpython-311.pyc b/Objet/__pycache__/gestion_clavier.cpython-311.pyc index 590ba738b72bff5a20dfc6be07e690c9bd60c3d6..e528efe79730698792d473508a10e82fff6b0482 100644 Binary files a/Objet/__pycache__/gestion_clavier.cpython-311.pyc and b/Objet/__pycache__/gestion_clavier.cpython-311.pyc differ diff --git a/Objet/__pycache__/menu.cpython-311.pyc b/Objet/__pycache__/menu.cpython-311.pyc new file mode 100644 index 0000000000000000000000000000000000000000..1dd123c2ab29bb7189def5dfb08111f7f71deb3c Binary files /dev/null and b/Objet/__pycache__/menu.cpython-311.pyc differ diff --git a/Objet/__pycache__/parameters.cpython-311.pyc b/Objet/__pycache__/parameters.cpython-311.pyc index 8f49743d82bc9d6ff302d10b690c7442891f5810..205be1cd785a00e409fef8be579f3719f8d22a78 100644 Binary files a/Objet/__pycache__/parameters.cpython-311.pyc and b/Objet/__pycache__/parameters.cpython-311.pyc differ diff --git a/Objet/__pycache__/ui.cpython-311.pyc b/Objet/__pycache__/ui.cpython-311.pyc index 0c599df1e0723b14a980d307bd3923bd642d4893..044cb8937c5a7413759df0bc220cee7a4fa4e422 100644 Binary files a/Objet/__pycache__/ui.cpython-311.pyc and b/Objet/__pycache__/ui.cpython-311.pyc differ diff --git a/test_nouveautestthreding.py b/test_nouveautestthreding.py index 5dc0263205cb6953606cec40f909a670fd0180ac..dc2cc407c0e22b60121b8405bcafb907d53131e7 100644 --- a/test_nouveautestthreding.py +++ b/test_nouveautestthreding.py @@ -15,15 +15,20 @@ def thread_wrapper(start, end, results, index): # Single-threaded execution def single_threaded(): start_time = time.time() - compute_task(0, 10_000_000) + compute_task(0, 100_000_000) end_time = time.time() return end_time - start_time # Multi-threaded execution def multi_threaded(): start_time = time.time() +<<<<<<< HEAD num_threads = 2 step = 10_000_000 // num_threads +======= + num_threads = 8 + step = 100_000_000 // num_threads +>>>>>>> 73f7a464704d2fa11671ba78a16771abe843918a threads = [] results = [0] * num_threads