a3c07e0d40
* If we pass a big data structure into utils.cut() like a dict with thousands of keys then this function is very inefficient because it converts the whole data structure into a string first and then retains only first N symbols (100 by default). This patch changes function utils.cut() so that a string representation is build more efficiently. In case of a list or dict it will be built item by item with the account for given maximum length. * Additional profiler decorators Change-Id: I51ae743e7439e9b68220d47837b2da05ecafb6ef |
||
---|---|---|
.. | ||
resources | ||
unit | ||
__init__.py |