Ok, back to the point: smaller scripts load and parse faster than big ones.
Wether that is something to worry about depends on your server's speed and systemload.
How long your script takes to execute is totally irrelevant.
If you have a busy server, no matter how huge and fast it is, you don't want to spend a 50ms waiting for your script to be loaded and parsed, even if the script does a 5 second query.