![]() Finally, the third test, using upsert() for batches (5,000) of products was vastly quicker than the other two tests. The second test, using upsert() for each product one-at-a-time was a little quicker as it only executed 1 query for each product, rather than 2. Test 2 ( upsert() method - singular rows)Īs expected the first tests with updateOrCreate() method was slowest. I averaged out the times from each test, which ended up as follows: I spun up a new server on Linode (with PHP 7.4
0 Comments
Leave a Reply. |