NEON implementation for main k-rate loop of OscillatorNode
This is the Arm/Neon equivalent of the x86/simd version of the main k-rate processing loop. The Web Audio Bench (100 runs of 10 sec) shows that we have about a 33% improvement in speed (on a Pixel 2). The difference is statistically significant. Without CL: TEST μs MIN Q1 MEDIAN Q3 MAX MEAN STDDEV Baseline 1778 1778 1888 2013 2498 3363 2225.6 437.41 Oscillator 1388 1388 1597 2104 2427 5244 2079.37 581.86 With CL: TEST μs MIN Q1 MEDIAN Q3 MAX MEAN STDDEV Baseline 1757 1757 1863 1955 2378 3280 2164.5 424.23 Oscillator 897 897 1001 1224 1764 4068 1399.1 515.9 Manually ran the tests in webaudio/Oscillator and all tests pass. Bug: 1013118 Change-Id: I738dfc9e9f108ac6a421099c69f11aab7750605f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2233003 Commit-Queue: Raymond Toy <rtoy@chromium.org> Reviewed-by:Dale Curtis <dalecurtis@chromium.org> Reviewed-by:
Hongchan Choi <hongchan@chromium.org> Cr-Commit-Position: refs/heads/master@{#779816}
Showing
Please register or sign in to comment