Skip to content

Messup if duration 0 #4

@hendrikp

Description

@hendrikp

here needs to be an additional safety guard, otherwise the format is interpreted wrong in timeview of speedscope (0 is interpreted as taking forever).

if end_time < 1 then end_time = 1 end

self.output = self.output .. string.format(json, end_time, name, start_time)

nice work, is helpful

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions