Skip to content

Commit

Permalink
Merge pull request #93 from deep-compute/kwikapi_timings
Browse files Browse the repository at this point in the history
add deserialize timings to total kwikapi timings
  • Loading branch information
sriharsha-kms authored May 28, 2019
2 parents 918116f + 0c1d000 commit 99d1e2a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ deploy:
- LICENSE
- kwikapi/api.py
- kwikapi/__init__.py
name: kwikapi-0.5.8
tag_name: 0.5.8
name: kwikapi-0.5.9
tag_name: 0.5.9
on:
repo: deep-compute/kwikapi
- provider: pypi
Expand Down
2 changes: 1 addition & 1 deletion kwikapi/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ def handle_request(self, request):
result = dict(success=True, result=result) if protocol.should_wrap() else result
n, t = response.write(result, protocol)

response.headers[TIMING_HEADER] = str(tcompute + t.value)
response.headers[TIMING_HEADER] = str(tcompute + t.value + rinfo.time_deserialize)

request.log.info('kwikapi.handle_request',
function=rinfo.function, namespace=rinfo.namespace,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from setuptools import setup, find_packages

version = '0.5.8'
version = '0.5.9'
setup(
name="kwikapi",
version=version,
Expand Down

0 comments on commit 99d1e2a

Please sign in to comment.