- local s = string.format('%s %.02fs', l, t)
- if totalTime then
- s = s .. string.format(profiler.colors('blue') .. ' [%.02f%%]', 100 * t / totalTime)
- end
+ local s
+
+ s = string.format('%s %.02fs %s[%.02f%%]',
+ l, t,
+ profiler.colors('blue'),
+ 100 * t / totalTime
+ )
+