Unit tests speed-up
Status from this message: This series was applied to bluetooth/bluez.git (master)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | unit: Speed up unit-avdtp testunit/ | +1 | 2 replies | |
| 2/3 | unit: Speed up unit-gobex-transfer testunit/ | +1 | 0 replies | |
| 3/3 | unit: Speed up unit-ringbuf testunit/ | +0 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [BlueZ PATCH v1 0/3] Unit tests speed-up
With those small changes, as well as running tests concurrently using meson, I was able to make the whole test suite run in less than 4 seconds on my desktop system, with a baseline of 50 seconds for "make -j8 check" under the autotools.
make -j8 check: 50 seconds
meson before changes: 13 seconds
meson after changes: 3.6 seconds
Bastien Nocera (3):
unit: Speed up unit-avdtp test
unit: Speed up unit-gobex-transfer test
unit: Speed up unit-ringbuf test
unit/test-avdtp.c | 2 +- unit/test-gobex-transfer.c | 2 +- unit/test-ringbuf.c | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-)
Signature · 1 line
2.52.0