Granulate / gprofiler

gProfiler is a system-wide profiler, combining multiple sampling profilers to produce unified visualization of what your CPU is spending time on.
https://profiler.granulate.io
Apache License 2.0
741 stars 54 forks source link

Refactor ProfilerState to a dataclass #833

Closed marcin-ol closed 11 months ago

marcin-ol commented 11 months ago

Description

ProfilerState has long had all traits of data class, Make it a true dataclass.

Motivation and Context

Simplify code, avoid errors when working with ProfilerState.