I am making a call to a stored procedure to load blob data. This stored procedure takes about 20 ms to execute. Setting the blob data parameter takes almost the same amount of time, and the two seem to scale fairly linearly based on data size. I have benchmarked to find where the time is being lost and it is on the call to the property node to set the parameter value. 20 ms may not seem like a lot, but we have a requirement to recover from a network fault and this effectively doubles the time it will take to get all that data into the database in this situation. Downstream processes can't execute until this data is calculated on and loaded through this procedure.
Is there any way to preinitialize that parameter's value to allocate some sort of buffer, or is the overhead from the property node call itself? I am a bit concerned this may just be the cost we eat due to the parameter value type being a variant. I have tried initializing a value when creating the parameters, to no avail.
Edit: I should add, this isn't just a first call overhead either. I have called this in a loop and it is consistently ~20ms to execute