{"action":"created","issue":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/299","repository_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool","labels_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/299/labels{/name}","comments_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/299/comments","events_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/299/events","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/299","id":195822940,"number":299,"title":"Upload to backblaze very slow","user":{"login":"khavishbhundoo","id":18513761,"avatar_url":"https://avatars.githubusercontent.com/u/18513761?v=3","gravatar_id":"","url":"https://api.github.com/users/khavishbhundoo","html_url":"https://github.com/khavishbhundoo","followers_url":"https://api.github.com/users/khavishbhundoo/followers","following_url":"https://api.github.com/users/khavishbhundoo/following{/other_user}","gists_url":"https://api.github.com/users/khavishbhundoo/gists{/gist_id}","starred_url":"https://api.github.com/users/khavishbhundoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khavishbhundoo/subscriptions","organizations_url":"https://api.github.com/users/khavishbhundoo/orgs","repos_url":"https://api.github.com/users/khavishbhundoo/repos","events_url":"https://api.github.com/users/khavishbhundoo/events{/privacy}","received_events_url":"https://api.github.com/users/khavishbhundoo/received_events","type":"User","site_admin":false},"labels":[{"id":287490456,"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/labels/invalid","name":"invalid","color":"e6e6e6","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-15T14:44:27Z","updated_at":"2016-12-15T18:35:26Z","closed_at":null,"body":"I have the following in my php script\r\n\r\n`$time_start = microtime(true);`\r\n`$upload_info = shell_exec($upload_command);`\r\n`echo 'Total execution time(upload only) in seconds: ' . (microtime(true) - $time_start);`\r\n\r\nHere is an example of a full command\r\n\r\n`B2_ACCOUNT_INFO=/path/to/.b2_account_info b2 upload_file --sha1 63eec5e7c78984492b958a399e5dc7e786226153 --contentType 'image/jpg' imgsv1 '/var/www/mysite.com/public_html/www/tmp/0000000090' 'WZ4zg3Z1.jpg'`\r\n\r\n`Total execution time(upload only) in seconds: 1.5932109355927`\r\n\r\nHow come it takes 1.59 sec to upload a 270KB  image \r\n\r\nI am using python 2.7.5 with PHP 7.1.0\r\n"},"comment":{"url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/comments/267405109","html_url":"https://github.com/Backblaze/B2_Command_Line_Tool/issues/299#issuecomment-267405109","issue_url":"https://api.github.com/repos/Backblaze/B2_Command_Line_Tool/issues/299","id":267405109,"user":{"login":"khavishbhundoo","id":18513761,"avatar_url":"https://avatars.githubusercontent.com/u/18513761?v=3","gravatar_id":"","url":"https://api.github.com/users/khavishbhundoo","html_url":"https://github.com/khavishbhundoo","followers_url":"https://api.github.com/users/khavishbhundoo/followers","following_url":"https://api.github.com/users/khavishbhundoo/following{/other_user}","gists_url":"https://api.github.com/users/khavishbhundoo/gists{/gist_id}","starred_url":"https://api.github.com/users/khavishbhundoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/khavishbhundoo/subscriptions","organizations_url":"https://api.github.com/users/khavishbhundoo/orgs","repos_url":"https://api.github.com/users/khavishbhundoo/repos","events_url":"https://api.github.com/users/khavishbhundoo/events{/privacy}","received_events_url":"https://api.github.com/users/khavishbhundoo/received_events","type":"User","site_admin":false},"created_at":"2016-12-15T18:35:26Z","updated_at":"2016-12-15T18:35:26Z","body":"I already use cloudflare to serve the images to users so that it not an issue.Currently time taken to upload the image to b2 in the first place is very long.My application is done with processing in < 500 ms and it takes 1.5+ to upload the file "}}
{"actor":{"display_login":"khavishbhundoo"}}