Docs

Performance Impact

MockQL is designed to improve your development speed while maintaining great performance. Here's what you can expect.

Speed Comparison

Real API Call~300-500ms
MockQL (First Call)~50-100ms
MockQL (Cached)~5-15ms

5-100x Faster

Local response generation eliminates network latency

Consistent Speed

No more variable response times due to network conditions

Zero Server Load

Responses generated locally, not from your servers

Development Benefits

Work without waiting for backend responses

Continue development even when backend systems are down

Test your UI with consistent, predictable data

Zero impact on production systems during testing

Keep in Mind

MockQL is much faster than real APIs, so always test with real backends before production

Response time simulation can be added if you need to test loading states

Cache settings can be adjusted to balance speed vs. memory usage

Performance Tips

Enable Caching

Response caching makes repeated calls to the same endpoint nearly instant. Enable it by default for development.

Be Selective

Only intercept the endpoints you need to modify. Let others pass through to the real API if needed.

Large Datasets

For large datasets, use pagination or reduced data sets during development to improve performance.

Performance Summary

MockQL significantly improves development performance by eliminating network delays and server dependencies. It's designed to be lightweight and fast, while giving you complete control over your API responses.

Remember: Always test with your real API before deploying to production, as MockQL responses are typically much faster than actual network requests.