#profiler #frame #region #real-time #tiny #profiler-region #tinyecs

tinyprof

Tiny realtime frame profiler, well used with tinyecs

1 unstable release

Uses old Rust 2015

0.0.1 Apr 9, 2016

#65 in #region

47 downloads per month
Used in tinyecs

MIT license

8KB
204 lines

tinyprof

Simple region based profiler.

{
    profile_region!("Root region");

    // something heavy

    {
        profiler_region!("sub region 1");
        // something heavy
    }

    {
        profiler_region!("sub region 2");
        // something heavy
    }

    profiler_next_frame();
}

Dependencies

~0.6–1MB
~15K SLoC