• Stars
    star
    165
  • Rank 228,906 (Top 5 %)
  • Language
    C++
  • License
    Apache License 2.0
  • Created over 4 years ago
  • Updated 2 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tracy client libraries for Rust

Tracy profiler clients in Rust

This project contains Rust crates for producing Tracy profiler traces. Tracy features nanosecond precision, ability to profile remotely and a full-featured graphical interface for finding hot spots in profiled programs.

While Tracy's support for Rust is not first-class, it is still a very potent tool. If you have an application instrumented with the tracing crate, Tracy can be used with your program in minutes via the tracing-tracy crate. It can work well as both a profiling and, to a lesser extent, an observability tool.

Important note

Depending on the configuration Tracy may broadcast discovery packets to the local network and expose the data it collects in the background to that same network. Traces collected by Tracy may include source and assembly code as well.

As thus, you may want make sure to only enable the tracing-tracy, tracy-client and tracy-client-sys crates conditionally, via the enable feature flag provided by the crates.

Version support table

This project, unlike Tracy itself, follows semantic versioning. We will publish a breaking version bump for tracy-client-sys whenever there is a potentially breaking protocol change, even if the Tracy project itself does not. An older version of Tracy being unable to communicate with the client of a more recent version is an example of such a breaking change.

tracy-client, tracing-tracy and other crates also follow semantic versioning, but do not consider protocol breaks a breaking change for their purposes. For that reason each future version of tracy-client may be able to support depending on a large number of incompatible tracy-client-sys versions. Users are expected to select the version of Tracy profiler they target and use precise version bounds in Cargo.toml or Cargo.lock to specify the version of tracy-client-sys that they want to use.

The following table lists the version correspondence between the libraries.

Tracy tracy-client-sys tracy-client tracing-tracy
0.7.1 0.9.0 0.8.0 0.2.0
0.7.3 0.10.0 0.9.0 0.3.0
0.7.4 0.11.0 0.10.0 0.4.0
0.7.5 0.12.0 0.11.0 0.5.0
0.7.6 0.13.0, 0.14.0 0.12.* 0.6.*
v0.7.7 0.15.0 0.12.* 0.6.*
v0.7.8 0.16.0 0.12.* 0.6.*
v0.7.8 0.16.0 0.12.* 0.7.*
v0.7.8 0.16.0 0.12.* 0.8.*
v0.8.1 0.17.* 0.13.* 0.9.*
v0.8.1 0.17.* 0.14.* 0.10.*
v0.8.2 0.18.0 0.14.* 0.10.*
v0.9 0.19.0 0.14.2 0.10.0
v0.9 0.19.0 0.15.0 0.10.1
v0.9.1 0.21.0 0.15.2 0.10.2
v0.9.1 0.21.0 0.16.0 0.10.3

More Repositories

1

rust_libloading

Bindings around the platform's dynamic library loading primitives with greatly improved memory safety.
Rust
1,222
star
2

msi-rgb

Linux utility for controlling RGB header on select MSI motherboards
Rust
417
star
3

django-bfm

[Not really maintained anymore] BFM is an Apache Licenced server file manager for Django made with ease of use and new web technologies in mind.
Python
40
star
4

math.rs

Implementation of libm in rust
Rust
33
star
5

rust_rdrand

An implementation of random number generator based on rdrand instruction
Rust
25
star
6

Manga-Fox-Grabber

GUI to download manga from mangafox, make it into PDF, and maybe read in your EBook reader.
Python
11
star
7

tokio-periodic

Asynchronous, periodic, mostly zero cost cross-platform timers
Rust
9
star
8

unicodeblocks

Python module for unicode blocks.
Python
9
star
9

marksman_escape

HTML escaping and unescaping in Rust
Rust
7
star
10

psm

Portable stack manipulation and introspection routines
Assembly
7
star
11

e4rat-preload-lite

More efficient way to preload e4rat file lists.
C
5
star
12

s3-directory-listing

Static S3 directory listing generator
Python
4
star
13

gnome-shell-theme-min

A GNOME-Shell theme without bells or whistles
Shell
3
star
14

Feeds

Feed Reader for GNOME.
Python
3
star
15

llvm_build_utils.rs

LLVM build utils for cargo build scripts
Rust
2
star
16

kazlauskas.me

My website. Built with Hakyll, Nix and other good stuff.
Haskell
2
star
17

target_build_utils.rs

Utility crate to handle the `TARGET` environment variable passed into build.rs scripts
Rust
2
star
18

django-localflavor-lt

Country-specific Django helpers for Lithuania.
Python
1
star
19

obis

Work with OBIS codes as defined by the IEC 62056-61 standard
Rust
1
star
20

prefix-sum-vec

Rust library for compressed storage for highly repeating elements, with O(log n) lookups
Rust
1
star
21

QLCoverArtReimagined

Automatically fetch covers from Last.fm and MusicBrainz. Plugin for quodlibet.
Python
1
star
22

nixpkg-openhab

A no-frills automatically-updated package of OpenHAB for nix
Nix
1
star
23

node-red-dsmr

DSMR stream demux nodes for NodeRED
TypeScript
1
star