• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

justinsalamon / scaper / 610 / 2
100%
master: 100%

Build:
DEFAULT BRANCH: master
Ran 19 Sep 2020 12:41AM UTC
Files 7
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Sep 2020 12:29AM UTC coverage: 100.0%. Remained the same
610.2

push

travis-ci

web-flow
Speeding up Scaper (part one) (#116)

* Adds a profiling script. (#106)

Adding a profiling script to Scaper that we can use to keep track of performance. The script generates 100 audio samples and records info about the run.

* adding some requirements needed for tests and profiling, adding a profile script

* updating a few variables

* adding profiling script and csv for logging results

* expanding details computer by profile script

* adjusting script again

Co-authored-by: pseeth <prem@descript.com>

* Replacing sox.file_info calls with soundfile.info(...).duration calls (#110)

* switching to soundfile for checking duration speeds things up

* pysoundfile has moved to soundfile on pip, updating setup.py

* install only one version of soundfile...

* Using Soundfile I/O operations + build_array functions from PySox (#111)

This changes the mechanisms within the `_generate_audio` function to use SoundFile for I/O and to use the build_array function from `sox` 1.4.0b0.

* Switching to using "build_array" + soundfile operations.

* Using soundfile ops + build_array gives a performance boost.

* np.pad in python 2.7 requires mode as a positional argument.

* source -> event in _generate_audio for structures holding numpy arrays

* cleaning up a stray comment

* adding a comment about needing both convert and set_output_format.

* adding back in a line for cleaner git diff

* Changing nomenclature, cleaning some stuff up.

* Had a duplicate line. Fixed.

* Removing context manager that was used for an easier CR.

* Changing tfm.fade operation to a numpy operation. (#117)

Fade operation happens directly on the numpy arrays containing the audio samples now, rather than going through sox.

* Changing fade to equiv numpy op

* Switching to using fade in-memory gives slightly more speed.

* Fixing some multichannel bugs when switching to in-memory ops. (#118)

* Fixing some multichannel bugs.

*... (continued)

751 of 751 relevant lines covered (100.0%)

1.0 hits per line

Source Files on job 610.2
  • Tree
  • List 0
  • Changed 3
  • Source Changed 3
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 533
  • Travis Job 610.2
  • 69778e77 on github
  • Prev Job for on master (#581.2)
  • Next Job for on master (#624.2)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc