oqc-community / qat

QAT is a quantum compiler and runtime focused on low-level, just-above-driver integration.
Other
49 stars 11 forks source link

Speed up pytest using multiple workers #266

Closed alillistone-OQC closed 1 week ago

alillistone-OQC commented 1 week ago

This will enable pytest to run test in parallel. Local benchmark testing on my laptop has been a 60% improvement in speed:

Before: 1561 passed, 59 skipped, 4 warnings in 369.94s (0:06:09)

After: 1561 passed, 59 skipped, 43 warnings in 154.65s (0:02:34)

github-actions[bot] commented 1 week ago

Performance Regression Tests

Performance changes detected in the following benchmarks: none

Pusher: @alillistone-OQC, Action: pull_request, Workflow: Performance regression tests