Commit fa1b3c3
authored
* fix: color execution time based on duration in verbose mode
In verbose mode, execution time was always displayed in cyan (blue).
Now uses a color palette to help spot slow operations:
- ≤1s: green (fast)
- 1-5s: cyan (normal)
- 5-30s: yellow (slow)
- ≥30s: red (very slow)
Fixes #680
Signed-off-by: zlplzp123wyt <zlplzp123wyt@users.noreply.github.com>
* fix: add blank line before return statement to fix lint error
---------
Signed-off-by: zlplzp123wyt <zlplzp123wyt@users.noreply.github.com>
Co-authored-by: zlplzp123wyt <zlplzp123wyt@users.noreply.github.com>
1 parent 40ac566 commit fa1b3c3
1 file changed
Lines changed: 16 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
198 | | - | |
| 198 | + | |
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
250 | 265 | | |
251 | 266 | | |
252 | 267 | | |
| |||
0 commit comments