Long ago, when VTune was first added, I thought it would be a good idea to test that the VTune integration still works in a CI test. I'm going to describe how that could be done and I'm looking for the answer to "is it worth it?"
Here's how I would do it:
test
?)vtune ... wasmtime --profile vtune ...
and capture the resultsvtune
is available on the path somehow (e.g., the which
crate); if it's not, just pass the test unconditionallyIs it worth it?
cc: @fitzgen (he/him), @Alex Crichton
sounds good to me
minor nitpick: rather than adding a dep on the which
crate, I'd just try doing vtune --help
or something like that to see if it is installed
yeah, that's better; just a heads up, though, somehow which
is transitively included in the dep tree?
Last updated: Dec 23 2024 at 14:03 UTC