Created
May 6, 2017 20:48
-
-
Save guyjacks/15cd1a354f208a971ce11482352b6041 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import time | |
from matchtx_api.mtx.models import Case | |
start = time.time() | |
case = Case.objects.get(pk=1) | |
for rule in case.selected_biopsy.rules.all(): | |
print(rule.name()) | |
stop = time.time() | |
print ('done') | |
print('took {0} seconds'.format((stop - start) * 1000.0)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment