タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

JavaScriptとperformanceとtestingに関するjay-esのブックマーク (1)

  • Why Is My Jest Suite So Slow?

    Our team is a couple of months into developing a new application, and our suite of unit 240 tests takes 46 seconds to run. That duration is not excessive yet, but it’s increasing in proportion to the number of tests. In a couple of months, it’ll take a couple of minutes to run our tests. We were surprised by this, as Jest is known for its fast performance. However, while Jest reported that each te

    Why Is My Jest Suite So Slow?
    jay-es
    jay-es 2023/01/21
    Jest のパフォーマンス改善。`node --inspect-brk` を使用してボトルネックを探る。巨大なライブラリは必要なファイルだけインポートする。TS の型チェックを省く
  • 1