I need to perform 3 million inserts to the database (mysql). PHP seems to be slow when it comes to insertion. I just need to verify if C performs faster in executing codes.
The bottleneck is probably the database regardless of programming language.
You should look into batch inserts and disabling of indexes during insert to speed up the process.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With