Without knowing what your DB looks like or how large it is, it's hard to tell. However to insert 5 records or less should not even be noticed.
There is something else going on.. Could be a loop in your code. You could be looking up data in a huge table without a index. You could be doing a update and the WHERE needs an index. Could be almost anything.. If it's possible to post your code and db schema it would help..