Can I profile my .zshrc/.zshenv?

Try adding this at the beginning of the file: # set the trace prompt to include seconds, nanoseconds, script name and line number # This is GNU date syntax; by default Macs ship with the BSD date program, which isn’t compatible PS4=’+$(date “+%s:%N”) %N:%i> ‘ # save file stderr to file descriptor 3 and redirect … Read more

Alternatives to gprof [closed]

gprof (read the paper) exists for historical reasons. If you think it will help you find performance problems, it was never advertised as such. Here’s what the paper says: The profile can be used to compare and assess the costs of various implementations. It does not say it can be used to identify the various … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)