Skip to content

Commit

Permalink
Фикс
Browse files Browse the repository at this point in the history
  • Loading branch information
DantesFonCake committed Dec 3, 2021
1 parent ed37191 commit ebb8413
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,22 +27,23 @@ def links_tests():


def tokens_tests():
#print(f'Sync time {perform_test(sync_token_generator_test.test, 1, 10)}')
print(f'Sync time {perform_test(sync_token_generator_test.test, 1, 10)}')

workers = 2
#print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')

workers = 4
#print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')

workers = 5
#print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')

workers = 10
#print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')

workers = 61
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 1, 10, workers)}')
print(f'TPE with {workers} max_workers time {perform_test(ppe_token_generator_test.test, 5, 10, workers)}')

if __name__ == '__main__':
links_tests()
tokens_tests()

0 comments on commit ebb8413

Please sign in to comment.