Skip to content

Commit

Permalink
DOC: update benchmark results (#144)
Browse files Browse the repository at this point in the history
* DOC: update benchmark results

* Add missing link for libsndfile

* Add exact hard drive name

* Remove sentence stating libsndfile version

* Update results
  • Loading branch information
hagenw authored Jan 19, 2024
1 parent c89e7ad commit be5b555
Show file tree
Hide file tree
Showing 16 changed files with 21 additions and 21 deletions.
17 changes: 9 additions & 8 deletions docs/benchmark.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ Python packages
The following Python packages are benchmarked against each other:

* audioread_ 3.0.1
* :mod:`audiofile` 1.3.0
* :mod:`audiofile` 1.3.2
* librosa_ 0.10.1
* pedalboard_ 0.8.6
* pedalboard_ 0.8.7
* scipy_ 1.11.4
* soundfile_ 0.21.1
* soundfile_ 0.12.1
* sox_ 1.4.1

scipy_ and librosa_ are only tested for reading files,
Expand Down Expand Up @@ -70,11 +70,11 @@ Running the benchmark

The benchmark was executed on the following machine:

* CPU: Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz x 12
* RAM: 15.37 GB
* Hard drive: Samsung SSD 860
* Linux: Ubuntu 18.04.6
* Python: 3.10.11
* CPU: 13th Gen Intel Core i7-1355U, 10-core (2-mt/8-st)
* RAM: 15.29 GiB
* Hard drive: KIOXIA KXG8AZNV1T02
* Linux: Ubuntu 22.04.3
* Python: 3.10.12

To rerun the benchmark yourself,
clone the repository
Expand Down Expand Up @@ -156,6 +156,7 @@ in the figure.
.. _ffmpeg: https://ffmpeg.org/
.. _gstreamer: https://gstreamer.freedesktop.org/
.. _librosa: https://github.com/librosa/librosa/
.. _libsndfile: http://www.mega-nerd.com/libsndfile/
.. _mad: https://sourceforge.net/projects/mad/
.. _pedalboard: https://github.com/spotify/pedalboard
.. _scipy: https://docs.scipy.org/doc/scipy/reference/generated/scipy.io.wavfile.read.html
Expand Down
25 changes: 12 additions & 13 deletions docs/benchmark/requirements.txt.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
# pip-compile --output-file=requirements.txt.lock requirements.txt
#
--index-url https://artifactory.audeering.com/artifactory/api/pypi/pypi/simple
--trusted-host artifactory.audeering.com

audeer==1.20.2
audeer==1.21.0
# via audiofile
audiofile==1.3.0
audiofile==1.3.2
# via -r requirements.txt
audioread==3.0.1
# via
Expand All @@ -29,7 +28,7 @@ cycler==0.12.1
# via matplotlib
decorator==5.1.1
# via librosa
fonttools==4.45.1
fonttools==4.47.2
# via matplotlib
idna==3.6
# via requests
Expand All @@ -51,7 +50,7 @@ msgpack==1.0.7
# via librosa
numba==0.58.1
# via librosa
numpy==1.26.2
numpy==1.26.3
# via
# audiofile
# audmath
Expand All @@ -70,15 +69,15 @@ packaging==23.2
# via
# matplotlib
# pooch
pandas==2.1.3
pandas==2.1.4
# via
# -r requirements.txt
# seaborn
pedalboard==0.8.6
pedalboard==0.8.7
# via -r requirements.txt
pillow==10.1.0
pillow==10.2.0
# via matplotlib
platformdirs==4.0.0
platformdirs==4.1.0
# via pooch
pooch==1.8.0
# via librosa
Expand All @@ -100,14 +99,14 @@ pytz==2023.3.post1
# via pandas
requests==2.31.0
# via pooch
scikit-learn==1.3.2
scikit-learn==1.4.0
# via librosa
scipy==1.11.4
# via
# -r requirements.txt
# librosa
# scikit-learn
seaborn==0.13.0
seaborn==0.13.1
# via -r requirements.txt
six==1.16.0
# via python-dateutil
Expand All @@ -124,9 +123,9 @@ threadpoolctl==3.2.0
# via scikit-learn
tqdm==4.66.1
# via audeer
typing-extensions==4.8.0
typing-extensions==4.9.0
# via librosa
tzdata==2023.3
tzdata==2023.4
# via pandas
urllib3==2.1.0
# via requests
Binary file modified docs/benchmark/results/benchmark_info_flac.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_info_mp3.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_info_mp4.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_info_ogg.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_info_wav.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_mp3-mp4_info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/benchmark/results/benchmark_mp3-mp4_read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/benchmark/results/benchmark_read_flac.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_read_mp3.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_read_mp4.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_read_ogg.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_read_wav.pickle
Binary file not shown.
Binary file modified docs/benchmark/results/benchmark_wav-flac-ogg_info.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/benchmark/results/benchmark_wav-flac-ogg_read.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit be5b555

Please sign in to comment.