TheFeshy / mp3utensil

A tool for validating, merging, and splitting mp3 files - focused on badly split and merged audio books.
2 stars 1 forks source link

Ongoing performance monitoring #21

Open TheFeshy opened 10 years ago

TheFeshy commented 10 years ago

Continue to monitor and improve performance.

Pre-array storage of frames:

Numpy (best of three): Big: 17.97 One: 0.528 Two 0.822

Python only: Big: 21.14 One: 2.37 Two: 0.96

TheFeshy commented 10 years ago

Array frames, and some fixes from the new test cases

Numpy (best of three): Big: 13.35 One: 0.45 Two: 0.66

Python only : Big: 16.28 One: 2.30 Two: 0.81

TheFeshy commented 10 years ago

Localized variables in lockon method

Python only: Big: 16.22 One: 2.29 Two: 0.81

No real change on this update.

TheFeshy commented 10 years ago

Made "Python only" actually use python arrays for the back end. This is a bit of a speed drop, but unavoidable if numpy isn't available.

Python only: Big: 18.75 One: 2.29 Two: 0.93

TheFeshy commented 10 years ago

Faster lock-on for python:

Big: 19.9 One: 1.14 Two: .96