about summary refs log tree commit diff
path: root/ChangeLog
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-26 22:06:39 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2020-05-28 19:40:40 +0000
commitfb1aa3fe1e78ee1f521b64db062addf74ea9d263 (patch)
tree8a4a198511dad6099320b66ebb6a3139c3da48da /ChangeLog
parent40723b3991557d0f5db66cbde9feb5cbc33bce78 (diff)
downloadzsh-fb1aa3fe1e78ee1f521b64db062addf74ea9d263.tar.gz
zsh-fb1aa3fe1e78ee1f521b64db062addf74ea9d263.tar.xz
zsh-fb1aa3fe1e78ee1f521b64db062addf74ea9d263.zip
45923 (with memory leak fixed, cf. 45924): zprof: Don't tally all anonymous functions as though they were a single function named "(anon)".
Before:

    % zmodload zsh/zprof
    % () :
    % () :
    % zprof
    num  calls                time                       self            name
    -----------------------------------------------------------------------------------
     1)    2           0.08     0.04  100.00%      0.08     0.04  100.00%  (anon)

After:

    % zmodload zsh/zprof
    % () :
    % () :
    % zprof
    num  calls                time                       self            name
    -----------------------------------------------------------------------------------
     1)    1           0.04     0.04   50.45%      0.04     0.04   50.45%  (anon) [:3]
     2)    1           0.04     0.04   49.55%      0.04     0.04   49.55%  (anon) [:2]
Diffstat (limited to 'ChangeLog')
-rw-r--r--ChangeLog6
1 files changed, 6 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index d1927a089..57635bea7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-05-28  Daniel Shahaf  <d.s@daniel.shahaf.name>
+
+	* 45923 (with memory leak fixed, cf. 45924): Src/Modules/zprof.c,
+	Src/exec.c: zprof: Don't tally all anonymous functions as though
+	they were a single function named "(anon)".
+
 2020-05-23  Peter Stephenson  <p.w.stephenson@ntlworld.com>
 
 	* 45900: Src/lex.c, Test/D04parameter.ztst: Fix issues with