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.

Print runtime of child processes in summary

See original GitHub issue

An example: we have a coreclr host process with CoreJob, ClrJob, MonoJob. In this case, only information about CoreJob will be printed in the summary. It would be also nice to have information about versions of installed .NET Framework and Mono.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
adamsitnikcommented, Oct 2, 2016

@AndreyAkinshin Ok, I updated the code.

Sample output:

BenchmarkDotNet=v0.9.9-develop
OS=Microsoft Windows NT 6.2.9200.0
Processor=Intel(R) Core(TM) i7-4700MQ CPU 2.40GHz, ProcessorCount=8
Frequency=2338332 Hz, Resolution=427.6553 ns, Timer=TSC
Host Runtime=Clr 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
GC=Concurrent Workstation
JitModules=clrjit-v4.6.1055.0
Job Runtime(s):
        Clr 4.0.30319.42000, Arch=64-bit RELEASE [RyuJIT]
        .NET Core 4.0.0.0, Arch=64-bit  [RyuJIT]
        Mono 4.4.1 (Visual Studio built mono), Arch=64-bit RELEASE
0reactions
AndreyAkinshincommented, Oct 2, 2016

Am I right that we can run Core jobs only if the host process if Core? In this case, we could just take information about Core version from the host process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Calculating process run time of child process fork()
I am having a program with 1 parent process and 3 children process. And I want to calculate run time of all children...
Read more >
Track Child Processes Using strace | Baeldung on Linux
A quick and practical guide to tracking child processes with strace.
Read more >
Child processes seem to run code from before they were ...
After the first fork , you will have 2 processes; pid will be equal to 0 in the child, so the child will...
Read more >
R: Running Time of R
(The print method uses the summary method to combine the child times with those of the main process.) The definition of 'user' and...
Read more >
Node.js Child Processes: Everything you need to know
When we execute the spawn function above, the output of the pwd command gets printed and the child process exits with code 0...
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