tests.profiling.test_profile_pow_specs

Profile the power spectrum calculation of the paper

Classes

class tests.profiling.test_profile_pow_specs.TestProfilePowSpecs(methodName='runTest')

Bases: TestProfile

Profile the power spectrum calculation of the paper

name = 'pow_specs'
classmethod setUpClass()

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

Return type:

None

classmethod setup_numba()

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

classmethod test_profile_pow_specs_cprofile()
classmethod test_profile_pow_specs_pyinstrument()
classmethod test_profile_pow_specs_yappi()

Functions

tests.profiling.test_profile_pow_specs.pow_specs()