Report actual resource usage checked by constraints #1993
Replies: 2 comments 1 reply
-
As most of the constraints rely on shared resources those statistics probably won't make much sense. Only max statements would be reliable from run to run. |
Beta Was this translation helpful? Give feedback.
-
@lahma I can measure memory, cpu and total time by myself (hopefully, if we don't switch threads on linux, haha), and statements count with a dummy constraint. |
Beta Was this translation helpful? Give feedback.
-
Hi Guys,
The constraints are great, but I'd like to measure and log actual resource usage for existing scripts, to end up with some reasonable values for constraints. Is there a convenient way to read the values for executed script? I can write some custom "constraints" to collect statistics, but it doesn't sound right - hopefully, you already have some better idea/solution on how to achieve what I need.
Ideally, I want something like this:
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions