Poor performance when "drawing" many instances containing hidden layers
メンテナーはふだん 1 日以内に返信
@klayoutmatthias がすでに取り組んでいます。
2025年11月25日 から。
評価
この issue はまだ評価されていません。
説明
Layouts containing a large number of instances can be very slow to redraw (and cause freezes / crashes), even in cases where those instances contain only a single, hidden, layer.
I've attached a file (tiles.gds.gz) that can help to show the effect -- to reproduce, open the file, hide layer 1/0, show the full hierarchy (to avoid drawing cell boxes), then zoom in and out and watch the other layers get drawn one-by-one.
The effect goes away if you flatten the layout -- based on this, I assume the drawing code is visiting each instance (but drawing nothing as the layer is hidden). Is there an easy opportunity to do some caching (e.g. "nothing to draw for this cell, skip its instances"), or are instances stored in a way that wouldn't help?
Happy to try to build something myself, but figured I'd ask before getting too deep into the code (so far, some quick profiling pointed me towards layRedrawThreadWorker.cc).
- 主要言語
- C++
- スター
- 1.2k
- フォーク
- 305
- 平均マージ
- 3日 2時間
- マージ済み PR(30日)
- 11
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
KLayout/klayout のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
KLayout/klayout#2554 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
KLayout/klayout#2412 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
DRC functions not working properly with clip in place対応中かも @klayoutmatthias が今日担当しました。 オープンbug
KLayout/klayout#2553 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 1〜2日 初心者へのやさしさ 50/100
メンテナーはふだん 1 日以内に返信
-
Deep DRC can miss violations when a cell has many shapes再び着手できるかも このイシューのプルリクエストはマージされずにクローズされました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 52/100
KLayout/klayout#2546 · コメント 5 件 ·
メンテナーはふだん 1 日以内に返信
KLayout/klayout の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 3 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
LaneDibello/Kotor-Patch-Manager#375 ·
メンテナーはふだん 2 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
メンテナーはふだん 1 日以内に返信