Skip to content
This repository has been archived by the owner on Apr 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #5 from lincc-frameworks/silent-asv
Browse files Browse the repository at this point in the history
Replace asv benches with placeholders
  • Loading branch information
hombit authored Feb 1, 2024
2 parents a1d7ef6 + b3cd3bf commit 7fb5861
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions benchmarks/benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@
For more information on writing benchmarks:
https://asv.readthedocs.io/en/stable/writing_benchmarks.html."""

import example_benchmarks
from time import sleep


def time_computation():
"""Time computations are prefixed with 'time'."""
example_benchmarks.runtime_computation()
sleep(1e-3)


def mem_list():
"""Memory computations are prefixed with 'mem' or 'peakmem'."""
return example_benchmarks.memory_computation()
sleep(1e-3)

0 comments on commit 7fb5861

Please sign in to comment.