in reply to OT : Which one is faster ?
Did you have a Perl question?
Given that SQLite and PostgreSQL are both available as free downloads, I'm not sure why you wouldn't just install them both and try them out.
I strongly suspect that you'll find SQLite faster than PostgreSQL. But a lot depends on your individual project.