Tracktion / tracktion_engine

Tracktion Engine module
Other
1.11k stars 148 forks source link

Optimise Elastique Direct #192

Closed drowaudio closed 2 months ago

drowaudio commented 5 months ago

Starting point

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Using memory mapped reader for compressed formats

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Spread process calls

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Efficient

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Efficient

256 block size, kNormalStartup, ~0.8 ratio, max frames 12800

Mobile

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Spread more:

Pro

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Efficient

256 block size, kFastStartup, ~0.8 ratio, max frames 12800

Efficient

256 block size, kNormalStartup, ~0.8 ratio, max frames 12800

Todo:

drowaudio commented 5 months ago

Image

Before changes

drowaudio commented 5 months ago

Using memory mapped reader for compressed formats: Image

drowaudio commented 5 months ago

After initial spreading:

Image

drowaudio commented 5 months ago

kNoOpt:

image

kNormal:

image

kFast:

image