rspack icon indicating copy to clipboard operation
rspack copied to clipboard

refactor: add tracing for make phase task

Open hardfist opened this issue 1 year ago • 3 comments

Summary

add more tracing info about make phase so we can know how to optimize it

Checklist

  • [ ] Tests updated (or not required).
  • [ ] Documentation updated (or not required).

hardfist avatar Sep 29 '24 14:09 hardfist

Deploy Preview for rspack canceled.

Name Link
Latest commit c5615c1b154b629869b6d9f64f97915611e97ff8
Latest deploy log https://app.netlify.com/sites/rspack/deploys/66fb6128efdfcd0008ed06e2

netlify[bot] avatar Sep 29 '24 14:09 netlify[bot]

Adding tracing to the make phase task will generate very large trace files, a 10k modules project will generate more than 60k line logs.

I think we should wait for the feature of filtering trace log by levels to be completed before merging this PR.

jerrykingxyz avatar Sep 30 '24 03:09 jerrykingxyz

Adding tracing to the make phase task will generate very large trace files, a 10k modules project will generate more than 60k line logs.

I think we should wait for the feature of filtering trace log by levels to be completed before merging this PR.

agree

hardfist avatar Sep 30 '24 07:09 hardfist