[Issue 22223] New: Profile results are zero in summery

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Aug 19 12:34:37 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=22223

          Issue ID: 22223
           Summary: Profile results are zero in summery
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: druntime
          Assignee: nobody at puremagic.com
          Reporter: uplink.coder at googlemail.com

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.

--


More information about the Digitalmars-d-bugs mailing list