... | @@ -179,7 +179,7 @@ ROQ should be a factor of 5-10 faster, but this is not the case. The run only co |
... | @@ -179,7 +179,7 @@ ROQ should be a factor of 5-10 faster, but this is not the case. The run only co |
|
The performance discrepancy is either caused by a slowdown in each individual worker task. Need to confirm if the speedup is achievable in serial.
|
|
The performance discrepancy is either caused by a slowdown in each individual worker task. Need to confirm if the speedup is achievable in serial.
|
|
|
|
|
|
### Function timing
|
|
### Function timing
|
|
The function calls are timed for 5000 iterations using PyInstrument to determine where time is spent during computation.
|
|
The function calls are timed for 5000 iterations using PyInstrument to determine where time is spent during computation. `log_likelihood` is the function performing the actual work. The majority of time within this function is spent in `calculate_snrs` and `frequency_domain_strain`.
|
|
|
|
|
|
| | log_likelihood (total) | calculate_snrs | frequency_domain_strain |
|
|
| | log_likelihood (total) | calculate_snrs | frequency_domain_strain |
|
|
|----------|------------------------|----------------|-------------------------|
|
|
|----------|------------------------|----------------|-------------------------|
|
... | | ... | |