Comments (2)
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.
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)
- Add hostname to _info.json:system
- wall clocktime should be more "precise" HOT 3
- Duplicate "sec sec" in summary report
- Add option to delete/not produce log files if "no changes"
- Add cpu_requested?
- Provide ability to censor/sanitize secrets in outputs
- Publish JOSS paper
- Replace ad-hoc "unknown" string in records with numbers to None
- Add logger
- Add CI check, PRs should have a semver-* label prior to merge
- Add ability to log docker containers/activities
- gpu information is not reported correctly in my case
- Collect system information in parallel (in a thread)
- reports negative exit code -- should we treat as a feature or "fix up" HOT 3
- Add integration to upload results to some "pastebin"
- Improve "rendering" of summary and possibly fix collection of "percenages" and memory usage
- Deprecate --quiet and replace with --log-level None
- Test Python 3.13 starting October 1 2024
- Investigate pytest.CaptureFixture usage problem HOT 3
- add all output file paths to the info.json HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duct.