question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Timing output should include both the core task and the total time

See original GitHub issue

if I have a

gulp.task("compile", ["lint", "sass"], function() {
     // do something which takes 50ms
});

where lint and sass are async (or not)

in the current version the output of this might be

lint: 200 ms sass: 250 ms compile: 50 ms

which is quite misleading. Really the time it took for compile to complete is Max(lintTime, sassTime) + compileTime

so helpful output for any task would be in include inclusive and exclusive time, say

lint: 200 ms sass: 250 ms compile: 50 ms / 350 ms

Issue Analytics

  • State:closed
  • Created 10 years ago
  • Comments:6 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
yocontracommented, Jan 26, 2014
1reaction
yocontracommented, Jan 23, 2014

@robrich I guess he’s saying that when tasks are like gulp.task('compile', ['lint','sass']) so when there is no actual task that the time should equal the aggregate of the tasks it kicks off

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do I time a method's execution in Java? - Stack Overflow
OutPut: Total time in milliseconds for all tasks : 999 Table describing all tasks performed : StopWatch '': running time (millis) = 999 ......
Read more >
Operating Systems: CPU Scheduling
Throughput - Number of processes completed per unit time. May range from 10 / second to 1 / hour depending on the specific...
Read more >
5 Daily Scheduling Methods to Bring More Focus to Your Day
"No matter how you look at it," Art of Less Doing writer Ari Meisel says, "tasks involve timing." (His technique is to use...
Read more >
What is Static Timing Analysis (STA)? - Synopsys
Static timing analysis (STA) is a method of validating the timing performance of a design by checking all possible paths for timing violations....
Read more >
Iteration Planning - Scaled Agile Framework
Some teams break each story down into tasks and forecast them in hours to confirm that they have the capacity and skills to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found