Coder Social home page Coder Social logo

check what duct is "busy with" about duct HOT 2 CLOSED

yarikoptic avatar yarikoptic commented on August 26, 2024
check what duct is "busy with"

from duct.

Comments (2)

asmacdo avatar asmacdo commented on August 26, 2024 1

This bugfix helps b6c9219

Here's some fun dogfooding :)

$ duct duct sleep 100
duct is executing duct sleep 100...
Log files will be written to .duct/logs/2024.06.21T13.06.49-1223368_
duct is executing sleep 100...
Log files will be written to .duct/logs/2024.06.21T13.06.49-1223371_
Exit Code: 0
Command: sleep 100
Log files location: .duct/logs/2024.06.21T13.06.49-1223371_
Wall Clock Time: 100.003 sec sec
Memory Peak Usage (RSS): 1920 KiB
Memory Average Usage (RSS): 1920.000 KiB
Virtual Memory Peak Usage (VSZ): 221584 KiB
Virtual Memory Average Usage (VSZ): 221584.000 KiB
Memory Peak Percentage: 0.0%
Memory Average Percentage: 0.000%
CPU Peak Usage: 0.0%
Average CPU Usage: 0.000%
Samples Collected: 98
Reports Written: 2

Exit Code: 0
Command: duct sleep 100
Log files location: .duct/logs/2024.06.21T13.06.49-1223368_
Wall Clock Time: 100.073 sec sec
Memory Peak Usage (RSS): 17920 KiB
Memory Average Usage (RSS): 17196.735 KiB
Virtual Memory Peak Usage (VSZ): 682564 KiB
Virtual Memory Average Usage (VSZ): 627538.367 KiB
Memory Peak Percentage: 0.0%
Memory Average Percentage: 0.000%
CPU Peak Usage: 4.0%
Average CPU Usage: 1.658%
Samples Collected: 98
Reports Written: 2

Average CPU Usage: 1.658% is an improvement, but still using a lot more power than we probably need.

from duct.

yarikoptic avatar yarikoptic commented on August 26, 2024

that was a very cute use of duct -- to monitor duct ;-)

on my attempt -- we sit at 3.5%
❯ duct duct sleep 100
2024-08-20T09:40:21-0400 [INFO    ] con-duct: duct is executing 'duct sleep 100'...
2024-08-20T09:40:21-0400 [INFO    ] con-duct: Log files will be written to .duct/logs/2024.08.20T09.40.21-3232070_
2024-08-20T09:40:21-0400 [INFO    ] con-duct: duct is executing 'sleep 100'...
2024-08-20T09:40:21-0400 [INFO    ] con-duct: Log files will be written to .duct/logs/2024.08.20T09.40.21-3232074_
2024-08-20T09:42:03-0400 [INFO    ] con-duct: Summary:
Exit Code: 0
Command: sleep 100
Log files location: .duct/logs/2024.08.20T09.40.21-3232074_
Wall Clock Time: 100.003 sec
Memory Peak Usage (RSS): 1966080 bytes
Memory Average Usage (RSS): 1966080.0 bytes
Virtual Memory Peak Usage (VSZ): 5652480 bytes
Virtual Memory Average Usage (VSZ): 5652480.0 bytes
Memory Peak Percentage: 5652480
Memory Average Percentage: 5652480.0
CPU Peak Usage: 0
Average CPU Usage: 0.0
Samples Collected: 98
Reports Written: 2

2024-08-20T09:42:03-0400 [INFO    ] con-duct: Summary:
Exit Code: 0
Command: duct sleep 100
Log files location: .duct/logs/2024.08.20T09.40.21-3232070_
Wall Clock Time: 101.877 sec
Memory Peak Usage (RSS): 14909440 bytes
Memory Average Usage (RSS): 14888140.799999997 bytes
Virtual Memory Peak Usage (VSZ): 250023936 bytes
Virtual Memory Average Usage (VSZ): 247739432.95999998 bytes
Memory Peak Percentage: 250023936
Memory Average Percentage: 247739432.95999998
CPU Peak Usage: 200.0
Average CPU Usage: 3.5020000000000002
Samples Collected: 100
Reports Written: 2

duct duct sleep 100  3.65s user 4.92s system 8% cpu 1:42.05 total

that is not great but not too bad either, let's just consider it ok for now, although might reconsider if we see it up

from duct.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.