> A profiler is exactly what you need here. You should profile your > script and understand the stuff that actually matters for your goals. > Otherwise you're just chasing unimportant things.
Again, my goal is not to profile a specific bash script. The goal is to see what features make bash only fit into a shell language but cannot make into other domains that other languages (e.g. python) are popular at. -- Regards, Peng