Skip to content

Prevent saving empty profiler files #399

@DarkEden-coding

Description

@DarkEden-coding

Hello, current functionality does some weird stuff with threads sometimes, and ends up saving a ton of empty profiling files. Given that these are useless, perhaps a simple warning print statement and no saved files would be sufficient to prevent repo cluttering. The correct report is generated at the end of the code run, so nothing is lost with these empty profiling files.

Example output (in all generated text files):

Timer unit: 1e-07 s


Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions