Hi,
There could be a couple of bottlenecks when using the WordPress rest API. Are you using shared hosting for the site you are uploading the products to? DNS lookups can be very slow. Getting your request processed on a shared server with thousands of sites can take time. Also when making a REST API request WordPress has to load its theme and plugins first so your site speed with plugins and themes. Then also your upload speed from your current internet connection also plays into this as well. So these are a couple of things I would look into to see why uploading products through the REST API is slow for you. You may attempt to disable your themes and plugins to see if one or more of those could be causing issues.
Please let me know if that helps.
Hi now I tried something and installed on a vserver with ssd. But the speed is incredible slow when adding products by API! The site itself is great and fast when surfing on it, its only the speed when adding products.
When I add a product with variations by api I tried using batch and without batch, but it is and stay slow! for adding a product with 5 variations it takes about 1 Minute.
I did not installed any plugin but 1 (Germanized) its necessary for German shops. (Also without this plugin its incredible slow)