1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-09-01 09:41:44 +02:00
Commit graph

9 commits

Author SHA1 Message Date
Daniel Shahaf
fb1aa3fe1e 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]
2020-05-28 19:40:40 +00:00
Peter Stephenson
1b52f47cf2 23665: autoloading of module features and related tweaks 2007-07-06 21:52:38 +00:00
Peter Stephenson
b0c5f09169 see 23479: add initial features support for modules 2007-05-28 22:57:39 +00:00
Wayne Davison
fb0937a69e Marked unused parameters with the new UNUSED() macro. 2004-06-02 22:14:25 +00:00
Peter Stephenson
9634760d5e 17582: Improved option argument handling.
unposted: Updated version to 4.1.0-dev-6 because of interface change.
2002-08-27 21:10:30 +00:00
Bart Schaefer
ecbc4e4457 Silence compiler warnings. 2001-05-28 17:39:00 +00:00
Sven Wischnowsky
5fe1924155 make the zprof wrapper function be more careful, avoiding almost all of the code when the module is being unloaded (14504) 2001-05-28 09:23:39 +00:00
Sven Wischnowsky
873671e368 fix misaligned percent output of zprof (13673) 2001-03-20 09:35:47 +00:00
Tanaka Akira
3d5e4155a4 Initial revision 1999-12-13 12:40:42 +00:00