elasticsearch/elasticsearch-py — pull request #94 by asnare (2014-06-18 12:51:19+00:00)
Title: Use simplejson if present instead of the stdlib json module.

This pull request updates the client to use the simplejson parser if it is available, and falls back on the standard python JSON parser. (This is fairly idiomatic usage.) The simplejson module is drop-in compatible.

Our use case for this is reindexing, which was CPU bound on python. We see a 3-4x speed improvement with these changes.