Both are accessible via HTTP/REST and both works in the way to skip the serialization in order to isolate logic which could impact the performance results.
Both services implements GET and POST requests:
- GET request to return a string with current time
- POST request to accept a data and return back the same data in the stream
The results showed that WCF is faster than WebAPI when sending GET requests but slower when executing POST request in non-chunked mode.