ShareFile-NET icon indicating copy to clipboard operation
ShareFile-NET copied to clipboard

SDK performance vs REST API

Open alexandrugheorghiu opened this issue 9 years ago • 9 comments

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: image

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.

alexandrugheorghiu avatar Sep 03 '15 18:09 alexandrugheorghiu