From 54c617d9307273413f60484e833bb2f70501ef29 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Thu, 19 Dec 2024 19:10:07 +0530 Subject: [PATCH] chore: Drop benches unlikely to break (or part of other benches) --- caffeine/microbenchmarks/bench_utils.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/caffeine/microbenchmarks/bench_utils.py b/caffeine/microbenchmarks/bench_utils.py index 3624858..97b2cd2 100644 --- a/caffeine/microbenchmarks/bench_utils.py +++ b/caffeine/microbenchmarks/bench_utils.py @@ -83,12 +83,6 @@ def cache_in_redis(num): globals={"flt": flt, "random": random}, ) -bench_cint_on_float = NanoBenchmark( - """cint(x)""", - setup="x = random.uniform(1, 10000)", - globals={"cint": cint, "random": random}, -) - bench_cint_on_string = NanoBenchmark( """cint(x)""", setup="x = str(random.randint(1, 10000))", @@ -96,12 +90,6 @@ def cache_in_redis(num): ) -bench_cint_on_int = NanoBenchmark( - """cint(x)""", - setup="x = random.randint(1, 10000)", - globals={"cint": cint, "random": random}, -) - bench_get_system_settings = NanoBenchmark("""frappe.get_system_settings("rounding_method")""")