Replies: 1 comment
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
We have a task running engine inside our code which spawns new processes like so:
It spawns new processes because it needs to parse externally-hosted data, sometimes substantial quantities of it, using native libraries, so there are both security and performance reasons.
It would be kind of nice if we could enable a flag inside of our app which would turn on automatic scalene profiling of tasks and dump the results in a unique temporary directory. Each task would then have its own separate profile which we could look at. The problem is that we don't want to be running our entire app under scalene all the time in production.
Is it completely not-possible to enable scalene purely from within the code at runtime, without running the code itself using
scalene
? The docs give the impression that:still requires running the code using
scalene
.Beta Was this translation helpful? Give feedback.
All reactions