Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Backport #308 to apply to 0.6

オープン
#370 コメント 10 件 リアクション 24 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
javascript

調査の方向性

まず、#308 のパフォーマンス変更と、fork 上にあるリンク先の 0.6.1-to-patch-0.6.1 の比較を確認します。0.6 系列にバックポートを適用し、その後、報告されている本番ビルドのリグレッションに対して source-map 生成のパフォーマンスを検証します。0.6.2 リリースで改善が利用可能になれば完了です。

索引モデルが issue の本文から書いたものです。

説明

needs-triage wasm

Many libraries won't be upgrading to source-map 0.7 until Node 6 is out of the LTS schedule (example: https://github.com/webpack/webpack-sources/issues/34#issuecomment-423752839). That is still 5-6 months away.

When I upgraded my project from Node 8 to Node 10, I was surprised to see that the performance of source-map generation was significantly diminished. A webpack production build went from taking 4 minutes to 20 minutes, and all that extra time can be attributed to source-map generation. Thanks to this issue thread -- https://github.com/webpack-contrib/uglifyjs-webpack-plugin/issues/272#issuecomment-427206345 -- it looks like #308 fixes the issue. I'm hoping it's possible to take @marcins 's suggestion, backport this significant performance improvement, and release it as 0.6.2.

I've made the necessary changes to backport the performance improvements in #308 on my fork: https://github.com/mozilla/source-map/compare/0.6.1...benthemonkey:patch-0.6.1

With these changes I found that my production build time goes back to taking 4 minutes.

主要言語
JavaScript
スター
3.7k
フォーク
370
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

mozilla/source-map のほかの issue

mozilla/source-map の issue をすべて見る

似ている issue

JavaScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。