more timing
This commit is contained in:
parent
d721e5431f
commit
b14c5e8770
2 changed files with 8 additions and 4 deletions
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
__pycache__/
|
||||
*.pyc
|
||||
*.lprof
|
||||
*.prof
|
||||
|
|
@ -251,8 +251,8 @@ def test_tet_tet_timing():
|
|||
|
||||
if (t+1) % 1000 == 0:
|
||||
t_each = (perf_counter() - t0) / (t + 1)
|
||||
logger.info(f'time per split for {t+1} splits: {t_each}')
|
||||
logger.info(f'done timing, time per split: {(perf_counter() - t0) / NUM_TRIALS}')
|
||||
logger.info(f'time per split/reduce for {t+1} splits: {t_each}')
|
||||
logger.info(f'done timing, time per split/reduce: {(perf_counter() - t0) / NUM_TRIALS}')
|
||||
|
||||
|
||||
def test_split_nonconvex():
|
||||
|
|
@ -625,8 +625,8 @@ if __name__ == '__main__':
|
|||
logger.info('voxelization')
|
||||
test_voxelization()
|
||||
|
||||
#logger.info('test_tet_tet_timing')
|
||||
#test_tet_tet_timing()
|
||||
logger.info('test_tet_tet_timing')
|
||||
test_tet_tet_timing()
|
||||
|
||||
logger.info('time_split')
|
||||
time_split()
|
||||
|
|
|
|||
Loading…
Reference in a new issue