-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ENH/BF: render floats only to 2 digits after . . Allow for composing …
…format + conversion Also adjusted exception message. I prefer to see original exception to get a better clue on what actually caused the problem, not an interpretation (possibly wrong since no analysis of original exception was carried out) of it. With this change, even with colors (not visible here) we get a nice(r) rendering: ❯ src/con_duct/__main__.py --colors --s-i 0.1 --r-i 0.5 test/data/test_script.py --memory-size 1024 --cpu-load 80 --duration 1 2024-10-29T11:09:27-0400 [INFO ] con-duct: duct is executing 'test/data/test_script.py --memory-size 1024 --cpu-load 80 --duration 1'... 2024-10-29T11:09:27-0400 [INFO ] con-duct: Log files will be written to .duct/logs/2024.10.29T11.09.27-1419353_ this is of test of STDERR this is of test of STDOUT Test completed. Consumed 1024 MB for 1 seconds with CPU load factor 80. 2024-10-29T11:09:28-0400 [INFO ] con-duct: Summary: Exit Code: 0 Command: test/data/test_script.py --memory-size 1024 --cpu-load 80 --duration 1 Log files location: .duct/logs/2024.10.29T11.09.27-1419353_ Wall Clock Time: 1.415 sec Memory Peak Usage (RSS): 1.1 GB Memory Average Usage (RSS): 898.9 MB Virtual Memory Peak Usage (VSZ): 1.1 GB Virtual Memory Average Usage (VSZ): 1.1 GB Memory Peak Percentage: 1.60% Memory Average Percentage: 1.31% CPU Peak Usage: 108.00% Average CPU Usage: 93.91% instead of smth like (trimming to what matters) ... Virtual Memory Average Usage (VSZ): 1.0 GB Memory Peak Percentage: 1.6% Memory Average Percentage: 1.2750000000000001% CPU Peak Usage: 104.0% Average CPU Usage: 92.83333333333333%
- Loading branch information
1 parent
98d7f34
commit 898948e
Showing
3 changed files
with
47 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters