如何 profile 一支 shell script? - Linux

Table of Contents

有一支吃 /bin/sh 的 shell script - fluxbox-generate_menu
裡面有 function ... 之類的

請問要如何 profile?
(像 gcc -pg 配合 gprof)

--

因為要優化, 所以想看看那部份是瓶頸.

--

All Comments