-
Couldn't load subscription status.
- Fork 2.7k
add feature wasmtime-jitdump #9871
add feature wasmtime-jitdump #9871
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a couple of notes:
- I am all for for the profiler. The jitdump profiler is not that heavy to my knowledge and should not be a problematic to be built by default.
- I am however not entirely sure about the way it is activated. The configuration IMO should not take place in ad-hoc places like deep in a crate. It should come from the CLI crate (or whatever place is more appropriate in the setting in question). However, I do not intend to block this PR because of that — I realize it is important for the stuff we are doing and block won't be productive.
- I am not entirely sure that setting some other value should lead to an error. I would prefer to ignore such a value, ideally printing a single warning message. That is not blocking as well.
Co-authored-by: Sergei Shulepov <[email protected]>
|
@pepyakin i'm applied 1. and 3. :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TY
Co-authored-by: Bastian Köcher <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Otherwise, LGTM.
Conflicts: client/executor/wasmtime/Cargo.toml
* master: (67 commits) Downstream `node-template` pull (#9915) Implement core::fmt::Debug for BoundedVec (#9914) Quickly skip invalid transactions during block authorship. (#9789) Add SS58 prefix for Automata (#9805) Clean up sc-peerset (#9806) Test each benchmark case in own #[test] (#9860) Add build with docker section to README (#9792) Simple Trait to Inspect Metadata (#9893) Pallet Assets: Create new asset classes from genesis config (#9742) doc: subkey usage (#9905) Silence alert about large-statement-fetcher (#9882) Fix democracy on-initialize weight (#9890) Fix basic authorship flaky test (#9906) contracts: Add event field names (#9896) subkey readme update on install (#9900) add feature wasmtime-jitdump (#9871) Return `target_hash` for finality_target instead of an Option (#9867) Update wasmtime to 0.29.0 (#9552) Less sleeps (#9848) remove unidiomatic (#9895) ...
Expose wasmtime optional feature jitdump to be able to profile wasm execution with perf.