Linux SDK: self-built samples run significantly slower than pre-built samples

Using SDK version: AstraSDK-v2.0.14 for Ubuntu 16.04

The pre-built samples in the sdk/bin directory (specifically SimpleDepthViewer-SFML) runs at a steady 30 FPS
However, when I build the samples myself in the sdk/samples/bin directory, they run at a much slower 8 fps

Is there a way to avoid this for my own projects? I don’t want the same performance loss in my own application.

I haven’t had this problem. Self-built samples have always run fine…are you sure you’re not building a debug version or turning on some kind of excessive logging?