in reply to mod_perl from CLI?
You should profile your script(s) to see where it's spending its time and where you should focus on optimizing. https://metacpan.org/pod/Devel::NYTProf