Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable meson release build optimizations (-O3). #4

Merged
merged 1 commit into from
Oct 28, 2022

Conversation

adworacz
Copy link
Contributor

The default buildtype is debug, so we've been running massively under optimized this whole time.

I ran before/after tests using a simple script:

import vapoursynth as vs

core = vs.core

clip = core.ffms2.Source('source.mkv')

clip = clip.rgvs.RemoveGrain(mode=2)
clip = clip.rgvs.RemoveGrain(mode=17)
clip = clip.rgvs.RemoveGrain(mode=7)

clip.set_output()

Results:

  • Source only = 736 fps
  • Old build = 100 fps
  • New build = 531 fps.

So we're seeing ~5x speed increase.

The default `buildtype` is debug, so we've been running massively under
optimized this whole time.

I ran before/after tests using a simple script:
```
import vapoursynth as vs

core = vs.core

clip = core.ffms2.Source('source.mkv')

clip = clip.rgvs.RemoveGrain(mode=2)
clip = clip.rgvs.RemoveGrain(mode=17)
clip = clip.rgvs.RemoveGrain(mode=7)

clip.set_output()
```

Results:
* Source only = 736 fps
* Old build = 100 fps
* New build = 531 fps.

So we're seeing ~5x speed increase.
@myrsloik myrsloik merged commit 89ca38a into vapoursynth:master Oct 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants