Skip to content

Commit

Permalink
chore: Drop benches unlikely to break (or part of other benches)
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Dec 19, 2024
1 parent b10846a commit 54c617d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions caffeine/microbenchmarks/bench_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,25 +83,13 @@ 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))",
globals={"cint": cint, "random": random},
)


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")""")


Expand Down

0 comments on commit 54c617d

Please sign in to comment.