klen / py-frameworks-bench

Another benchmark for some python frameworks
https://klen.github.io/py-frameworks-bench/
MIT License
712 stars 84 forks source link

This should improve flask result for json output #15

Closed italomaia closed 3 years ago

italomaia commented 8 years ago

If flask does not receive the X-Requested-With: XMLHttpRequest header on a request which responds with jsonify, it will format the output, slowing dow the response time quite a lot. This PR fixes this. Flask bench should be faster, now.

italomaia commented 7 years ago

I'm not sure, @dimaqq The PR is seating still for some time now. What should be done to have it accepted?

dimaqq commented 7 years ago

Fork it and own it :)

italomaia commented 7 years ago

Good point @dimaqq Although sad. Will do.

@klen @gi0baro @hawkowl please, take a look.