ShareFile-NET
ShareFile-NET copied to clipboard
SDK performance vs REST API
I was trying to compare the SDK vs the REST API in terms of their speed while uploading a file. For this I've used:
- 12 files ranging from 12K to 8.6M in size;
- for the SKD I've used the code from the documentation: https://github.com/citrix/ShareFile-NET#upload;
- for the REST API I've used the code from the sample: http://api.sharefile.com/rest/samples/csharp.aspx.
These are the results:
It seems that the REST API is faster than the SDK for smaller files, but the SDK is faster than the REST API for the bigger files.
Some explanations with respect to these results would be highly appreciated.
Thank you.