I am using a database(mysql), but not persistent connections. So a database handle is opened and closed every time. Though the Time::HiRes start is done before the database handle is opened and checked after it is closed, so I would think if that was the issue, the time slowdown would be noticed in my benchmark. The database server is also on its own dedicated server so it can handle quite a lot of connections.