{"action":"created","issue":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/1618","repository_url":"https://api.github.com/repos/PaddlePaddle/Paddle","labels_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/1618/labels{/name}","comments_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/1618/comments","events_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/1618/events","html_url":"https://github.com/PaddlePaddle/Paddle/pull/1618","id":214013508,"number":1618,"title":"Speed up dense converter.","user":{"login":"reyoung","id":728699,"avatar_url":"https://avatars1.githubusercontent.com/u/728699?v=3","gravatar_id":"","url":"https://api.github.com/users/reyoung","html_url":"https://github.com/reyoung","followers_url":"https://api.github.com/users/reyoung/followers","following_url":"https://api.github.com/users/reyoung/following{/other_user}","gists_url":"https://api.github.com/users/reyoung/gists{/gist_id}","starred_url":"https://api.github.com/users/reyoung/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reyoung/subscriptions","organizations_url":"https://api.github.com/users/reyoung/orgs","repos_url":"https://api.github.com/users/reyoung/repos","events_url":"https://api.github.com/users/reyoung/events{/privacy}","received_events_url":"https://api.github.com/users/reyoung/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-03-14T09:33:27Z","updated_at":"2017-03-17T06:02:52Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/pulls/1618","html_url":"https://github.com/PaddlePaddle/Paddle/pull/1618","diff_url":"https://github.com/PaddlePaddle/Paddle/pull/1618.diff","patch_url":"https://github.com/PaddlePaddle/Paddle/pull/1618.patch"},"body":"Fix #1616 \r\n\r\nReduce Total Time from 19 sec to 4.5 sec.\r\n\r\n```\r\nTue Mar 14 17:21:17 2017    profile.bin\r\n\r\n         2779488 function calls (2770478 primitive calls) in 4.500 seconds\r\n\r\n   Ordered by: cumulative time\r\n\r\n   ncalls  tottime  percall  cumtime  percall filename:lineno(function)\r\n        1    0.001    0.001    4.520    4.520 api_train_v2.py:1(<module>)\r\n        1    0.003    0.003    3.229    3.229 api_train_v2.py:58(main)\r\n        1    0.072    0.072    3.157    3.157 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/trainer.py:64(train)\r\n        1    0.002    0.002    1.290    1.290 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/__init__.py:14(<module>)\r\n     1103    0.077    0.000    1.262    0.001 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/minibatch.py:30(batch_reader)\r\n     1097    0.003    0.000    1.076    0.001 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/py_paddle/dataprovider_converter.py:196(__call__)\r\n     1097    0.039    0.000    1.073    0.001 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/data_feeder.py:91(convert)\r\n   120002    0.148    0.000    1.024    0.000 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/reader/decorator.py:65(data_reader)\r\n   140105    0.619    0.000    0.932    0.000 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/dataset/mnist.py:38(reader)\r\n     1097    0.333    0.000    0.830    0.001 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/py_paddle/dataprovider_converter.py:169(convert)\r\n        1    0.001    0.001    0.803    0.803 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/dataset/__init__.py:16(<module>)\r\n        1    0.000    0.000    0.741    0.741 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/dataset/sentiment.py:21(<module>)\r\n        1    0.006    0.006    0.740    0.740 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/nltk/__init__.py:17(<module>)\r\n        1    0.001    0.001    0.459    0.459 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/paddle/v2/optimizer.py:1(<module>)\r\n        1    0.000    0.000    0.425    0.425 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/py_paddle/__init__.py:15(<module>)\r\n        1    0.002    0.002    0.423    0.423 /Users/baidu/tmp/.py_env/lib/python2.7/site-packages/py_paddle/util.py:16(<module>)\r\n```"},"comment":{"url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/comments/287274496","html_url":"https://github.com/PaddlePaddle/Paddle/pull/1618#issuecomment-287274496","issue_url":"https://api.github.com/repos/PaddlePaddle/Paddle/issues/1618","id":287274496,"user":{"login":"jacquesqiao","id":3048612,"avatar_url":"https://avatars3.githubusercontent.com/u/3048612?v=3","gravatar_id":"","url":"https://api.github.com/users/jacquesqiao","html_url":"https://github.com/jacquesqiao","followers_url":"https://api.github.com/users/jacquesqiao/followers","following_url":"https://api.github.com/users/jacquesqiao/following{/other_user}","gists_url":"https://api.github.com/users/jacquesqiao/gists{/gist_id}","starred_url":"https://api.github.com/users/jacquesqiao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jacquesqiao/subscriptions","organizations_url":"https://api.github.com/users/jacquesqiao/orgs","repos_url":"https://api.github.com/users/jacquesqiao/repos","events_url":"https://api.github.com/users/jacquesqiao/events{/privacy}","received_events_url":"https://api.github.com/users/jacquesqiao/received_events","type":"User","site_admin":false},"created_at":"2017-03-17T06:02:52Z","updated_at":"2017-03-17T06:02:52Z","body":"LGTM"}}
{"actor":{"display_login":"jacquesqiao"}}