zsh-users
 help / color / mirror / code / Atom feed
* "Profiling" my startup scripts
@ 2011-11-23 21:04 Daniel Serodio (lists)
  2011-11-23 21:20 ` Mikael Magnusson
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Daniel Serodio (lists) @ 2011-11-23 21:04 UTC (permalink / raw)
  To: zsh-users

I have somewhat complex .zshrc and .zshenv startup scripts that I've 
improved over the years, running Linux. Now I'm using OSX and something 
in these scripts is taking more time than usual, and I'd like to 
"profile" them, ie. find out how long each step takes.

My first idea was to add a $(date) execution to PS4, but I found that it 
doesn't work in zsh (it works in bash).

Do you have any suggestions about a better way to profile my startup 
scripts?

Also, would you add this feature (command execution substitution in PS4) 
to zsh?

Thanks in advance,
Daniel Serodio


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-11-23 22:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-23 21:04 "Profiling" my startup scripts Daniel Serodio (lists)
2011-11-23 21:20 ` Mikael Magnusson
2011-11-23 21:25 ` Dan Nelson
2011-11-23 22:04 ` Benjamin R. Haskell

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).