Unverified Commit f56a674f authored by Tobias Koppers's avatar Tobias Koppers Committed by GitHub

add tracing to server actions transform (#63773)

### What?

The transform seem to be quite inefficient regarding memory usage. Just
leaving a trace here to allow inspecting performance and memory of it
separately from the normal `parse` function.


Closes PACK-2855
parent e820e92d
......@@ -34,6 +34,7 @@ pub struct Config {
// Using BTreeMap to ensure the order of the actions is deterministic.
pub type ActionsMap = BTreeMap<String, String>;
#[tracing::instrument(level = tracing::Level::TRACE, skip_all)]
pub fn server_actions<C: Comments>(
file_name: &FileName,
config: Config,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment