tests.profiling.test_profile

Performance profiling script

When implementing new tests, the functions should be called at least once to JIT-compile them before profiling

Classes

class tests.profiling.test_profile.TestProfile(methodName='runTest')

Bases: ABC, TestCase

classmethod setUpClass()

Hook method for setting up class fixture before running tests in the class.

Return type:

None

abstract classmethod setup_numba()

Run the command to be profiled before profiling to ensure that it’s already fully Numba-jitted when profiled.