Upsun User Documentation

Continuous profiling for Rust

Try Upsun for 15 days
After that, enjoy the same, game-changing Upsun features for less with the First Project Incentive!ยน A monthly $19 perk!
ยนTerms and conditions apply
Activate your 15-day trial

Upsun Continuous Profiler is powered by Blackfire. It is available directly the Console, under the Profiling tab of your environments.

The Rust continuous profiling is currently made across 3 dimensions:

  • CPU Time: Time spent running on the CPU
  • Allocated Memory: Number of bytes allocated in memory
  • Allocations: Time spent running on the CPU

The default sampling frequency is 100 Hz. This means the Rust continuous profiler is collecting information 100 times per second. The allocated memory sampling frequency is 524288 Hz.

Installation Anchor to this heading

The Blackfire Continuous Profiler Rust library is included by default in all Rust images. There is no installation required nor minimal Rust version needed.

Configuration Anchor to this heading

The Rust continuous profiler is enabled by default without configuration.

It is recommended to build your Rust application in debug mode to benefit from comprehensive stacktrace and information that could be obfuscated and collapsed otherwise.

$ cargo build

Is this page helpful?