-
Notifications
You must be signed in to change notification settings - Fork 0
Real world performance
We maintain a list of external benchmark results here people have been experiencing to provide an idea of the relative performance you can expect from real-world usage:
EF & JSON.NET 2300ms
EF [AsNoTracking] & JSON.NET 973ms
EF [AsNoTracking] & ServiceStack 809ms
Simple.Data & JSON.NET 1598ms
Simple.Data & ServiceStack 933ms
ServiceStack.OrmLite & JSON.NET 405ms
ServiceStack.OrmLite & ServiceStack 245ms
ServiceStack 9667ms
WebApi 30407ms
(PS: The previous results showed huge difference, and that is due to the difference in the clients. When both uses the same JsonClient, they end up quite close to each other. And swapping in the ServiceStack Json Serializer into WebApi makes the difference negligible.)
GitHub project for the benchmarks are at: https://github.com/anilmujagic/ServiceBenchmark
ServiceStack 19s
WCF Data Services (Optimized) 28s
WCF Data Services 48s
One thing that I was completely surprised by today was the performance of the open source ServiceStack.NET frameworks. Even with the performance tuned release of JSON.NET I found that ServiceStack.Text beat it by a rediculous margin. It serialises 2x faster and deserialises 4x faster.
Redis (Cygwin) 254ms
Redis (Cygwin + fsync) 543ms
Raven DB 2983ms
We've also previously graphed comprehensive 3rd Party benchmarks and a couple of our own at: servicestack.net/benchmarks/.
- Why ServiceStack?
- What is a message based web service?
- Advantages of message based web services
- Why remote services should use separate DTOs
- Getting Started
- Reference
- Clients
- Formats
- View Engines 4. Razor & Markdown Razor
- Hosts
- Advanced
- Configuration options
- Access HTTP specific features in services
- Logging
- Serialization/deserialization
- Request/response filters
- Filter attributes
- Concurrency Model
- Built-in caching options
- Built-in profiling
- Messaging and Redis
- Form Hijacking Prevention
- Auto-Mapping
- HTTP Utils
- Virtual File System
- Config API
- Physical Project Structure
- Modularizing Services
- Plugins
- Tests
- Other Languages
- Use Cases
- Performance
- How To
- Future