mirror of
https://github.com/bringout/oca-ocb-test.git
synced 2026-04-22 11:22:06 +02:00
19.0 vanilla
This commit is contained in:
parent
38c6088dcc
commit
d9452d2060
243 changed files with 30797 additions and 10815 deletions
|
|
@ -32,7 +32,7 @@ class TestResourcePerformance(TransactionCase):
|
|||
start = pytz.utc.localize(datetime.now() + relativedelta(month=1, day=1))
|
||||
stop = pytz.utc.localize(datetime.now() + relativedelta(month=12, day=31))
|
||||
start_time = time.time()
|
||||
calendar._attendance_intervals_batch(start, stop, resources=resources)
|
||||
calendar._attendance_intervals_batch(start, stop, resources=resources.resource_id)
|
||||
_logger.info('Attendance Intervals Batch (100): --- %s seconds ---', time.time() - start_time)
|
||||
# Before
|
||||
#INFO master test_performance: Attendance Intervals Batch (100): --- 2.0667169094085693 seconds ---
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue