Performance of a shell script

Hiii,
I wrote a shell script for testing purpose.

I have to test around 200thousand entries with the script.When i am doing only for 6000 entries its taking almost 1hour.If i test the whole testingdata it will take huge amount of time.

I just want to know is it something dependent on the configuration of machine.
Any suggestion how i can increase the efficiency of my script.

Thanks in advance.
Namish

We can comment better if we see the script. As such, if you use external tools like cat, grep or something in a shell script, then you should see the mileage varying a lot.

See shell script takes long time to complete as an example.

Choose the language appropriate to the task.

Shells are very heavy users of process forking/execing.

Using a language like Perl, C, C++, Java may give a dramatic improvement because they are not continually starting new processes to do tiny tasks.