Bug 22223 – Profile results are zero in summery

Status
NEW
Severity
enhancement
Priority
P4
Component
druntime
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2021-08-19T12:34:37Z
Last change time
2024-12-07T13:41:20Z
Assigned to
No Owner
Creator
uplink.coder
Moved to GitHub: dmd#17196 →

Comments

Comment #0 by uplink.coder — 2021-08-19T12:34:37Z
The builtin profiler results are non-informative when generated on linux. ======== Timer frequency unknown, Times are in Megaticks ======== Num Tree Func Per Calls Time Time Call 18443 8 8 0 _ZN3Mem7xmallocEm 48241 6 6 0 _d_newclass 33 7 6 0 nothrow dmd.root.file.File.ReadResult dmd.root.file.File.read(const(ch> 10486 2 2 0 pure nothrow @trusted immutable(char)[] dmd.utils.itos(const(uint)) 466 2 2 0 pure nothrow @nogc @safe dmd.astenums.TY dmd.impcnvtab.implicitConvTy1> 67858 5 2 0 nothrow void dmd.lexer.Lexer.scan(dmd.tokens.Token*) As you can see most of the significant places are no longer there when you start counting time in megaticks.
Comment #1 by robert.schadek — 2024-12-07T13:41:20Z
THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/17196 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB