risdenk commented on PR #1545: URL: https://github.com/apache/solr/pull/1545#issuecomment-1497838599
So found the issue I think (I don't know how it manifests itself more during the upgrade, but this is a big improvement): AwsChunkedDecodingInputStream (https://github.com/adobe/S3Mock/blame/main/server/src/main/java/com/adobe/testing/s3mock/util/AwsChunkedDecodingInputStream.java) is used during putObject and only implements read() which is a single byte read at a time. A quick fix is to wrap the input source in new BufferedInputStream which then speeds everything up. It took the test on my laptop from 11s to <1s easily. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
