You can insert multiple rows in the database at the same time:
INSERT INTO person (name, age) VALUES ('john doe', 25), ('jane doe', 20);