Skip to content

バックエンドのコードもbundle+minifyする #16852

@syuilo

Description

@syuilo

Summary

インスペクタで確認したところ、V8はコメントなども全て含むスクリプトコードそのものもメモリに載せてるっぽく、手元の検証ではそれだけで100MB近くメモリを消費している

そのため、(node_modules内のコードも含め)バックエンドのコードもminifyすればメモリ使用量を大幅に減らせる可能性がある

Purpose

メモリ使用量削減

Do you want to implement this feature yourself?

  • Yes, I will implement this by myself and send a pull request

Metadata

Metadata

Assignees

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions