Bug 22772 – -vtemplates should measure the cost of the instantiations

Status
NEW
Severity
enhancement
Priority
P4
Component
dmd
Product
D
Version
D2
Platform
x86_64
OS
All
Creation time
2022-02-14T20:28:01Z
Last change time
2024-12-13T19:20:56Z
Keywords
pull
Assigned to
No Owner
Creator
mhh
Moved to GitHub: dmd#20052 →

Comments

Comment #0 by maxhaton — 2022-02-14T20:28:01Z
Some templates cost much more than others, and it's not related to how many times a template was actually used (not necessarily at least) — the coefficient in the O(n) matters.
Comment #1 by dlang-bot — 2022-02-14T22:16:22Z
@maxhaton created dlang/dmd pull request #13653 "Make -vtemplates measure the time spent instantiating" fixing this issue: - Fix Issue 22772 - Make -vtemplates give a rough estimate of total compilation time of a given template https://github.com/dlang/dmd/pull/13653
Comment #2 by robert.schadek — 2024-12-13T19:20:56Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/20052 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB