Performance and CPU Load

The following tables show Figment's output FPS and CPU load (in percent) in different settings. Each setting is evaluated across different input frequencies (left column). We define the frequency as the interval (in milliseconds) between frames entering the machine learning model. To make the input FPS explicit we specify each frequency as 1000/FPS. With the next release (currently in beta) we will add the option set_input_frequency to the setOptionfunction allowing you to control the input frequency.

Plain Figment

CPU load when rendering a MediaStream while Figment is deactivated: 3-5 %

Figment in WebRTC Peer Connection

CPU load of WebRTC peer connection (15 FPS, 480p) while Figment is deactivated: 16-18 %. Our implementation is based on this WebRTC sample.

*Current default setting.

** Setting Figment's input frequency to a lower FPS than the WebRTC baseline positively impacts WebRTC's CPU load. This explains the lower CPU load than with the WebRTC baseline.

Last updated