A library to record performance traces in S&box games.
- Nanosecond resolution timings.
- Built-in Chrome trace event format.
- Embeddable custom meta data.
- Customizable trace storage and formatting.
- Three types of traces supported:
- Performance - Records time taken to execute a block of code.
- Counter - Records changes to a number for graphing. Useful for recording player counts and basic state.
- Marker - Marks a point in a trace. Useful to track events happening in your code.
See the API wiki
You can either download it from this repo or you can reference it with gooman.perf_tracing
using asset.party
Distributed under the MIT License. See the license for more information.