jaidevd / pyhht

Python toolbox for the Hilbert-Huang transform
Other
254 stars 88 forks source link

Plan to enhance the speed? #32

Open stegben opened 7 years ago

stegben commented 7 years ago

Just curious if there're any plan to rewrite some module in Cython?

jaidevd commented 7 years ago

Hi @stegben

There's nothing planned as such, but I think I should at least do a profiling / benchmarking of all the code. Currently the largest bottleneck is the spline interpolation. I don't think that can be made faster with Cython, since I'm using scipy.iterpolate.iterp1d

However, yes, there are many other things that can be sped up. Let me do a proper profiling of the code first.

jaidevd commented 7 years ago

This is a simple line by line performance profiling of the module. There are clearly some avoidable bottlenecks. I'll check them out when over the weekend. profresults.txt