{"action":"created","issue":{"url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/95","repository_url":"https://api.github.com/repos/danielgtaylor/jpeg-archive","labels_url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/95/labels{/name}","comments_url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/95/comments","events_url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/95/events","html_url":"https://github.com/danielgtaylor/jpeg-archive/issues/95","id":345442356,"node_id":"MDU6SXNzdWUzNDU0NDIzNTY=","number":95,"title":"jpeg-recompress runs multiple loops with exact same quality","user":{"login":"sourcejedi","id":14057,"node_id":"MDQ6VXNlcjE0MDU3","avatar_url":"https://avatars0.githubusercontent.com/u/14057?v=4","gravatar_id":"","url":"https://api.github.com/users/sourcejedi","html_url":"https://github.com/sourcejedi","followers_url":"https://api.github.com/users/sourcejedi/followers","following_url":"https://api.github.com/users/sourcejedi/following{/other_user}","gists_url":"https://api.github.com/users/sourcejedi/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcejedi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcejedi/subscriptions","organizations_url":"https://api.github.com/users/sourcejedi/orgs","repos_url":"https://api.github.com/users/sourcejedi/repos","events_url":"https://api.github.com/users/sourcejedi/events{/privacy}","received_events_url":"https://api.github.com/users/sourcejedi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-28T11:45:18Z","updated_at":"2018-08-18T16:53:48Z","closed_at":"2018-08-18T16:53:48Z","author_association":"NONE","body":"`jpeg-recompress` performance would benefit from an early-termination check, when the quality range is narrow :-D.\r\n\r\n```\r\nMetadata size is 19kb\r\nssim at q=91 (87 - 95): 0.998820\r\nssim at q=93 (92 - 95): 0.999128\r\nssim at q=94 (94 - 95): 0.999288\r\nssim at q=95 (95 - 95): 0.999430\r\nssim at q=95 (95 - 95): 0.999430\r\nFinal optimized ssim at q=95: 0.999119\r\n```\r\n\r\nE.g. reducing to `--loops=4` brought down the time per image from 2.22 seconds to 1.67, a performance improvement of 33%.\r\n\r\n---\r\n\r\nThanks for the software!  I'd probably be happy with mozjpeg q=90, but being able to vary the quality over a small range in that area is even better."},"comment":{"url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/comments/414071498","html_url":"https://github.com/danielgtaylor/jpeg-archive/issues/95#issuecomment-414071498","issue_url":"https://api.github.com/repos/danielgtaylor/jpeg-archive/issues/95","id":414071498,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDA3MTQ5OA==","user":{"login":"lfos","id":5530842,"node_id":"MDQ6VXNlcjU1MzA4NDI=","avatar_url":"https://avatars1.githubusercontent.com/u/5530842?v=4","gravatar_id":"","url":"https://api.github.com/users/lfos","html_url":"https://github.com/lfos","followers_url":"https://api.github.com/users/lfos/followers","following_url":"https://api.github.com/users/lfos/following{/other_user}","gists_url":"https://api.github.com/users/lfos/gists{/gist_id}","starred_url":"https://api.github.com/users/lfos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lfos/subscriptions","organizations_url":"https://api.github.com/users/lfos/orgs","repos_url":"https://api.github.com/users/lfos/repos","events_url":"https://api.github.com/users/lfos/events{/privacy}","received_events_url":"https://api.github.com/users/lfos/received_events","type":"User","site_admin":false},"created_at":"2018-08-18T16:53:48Z","updated_at":"2018-08-18T16:53:48Z","author_association":"COLLABORATOR","body":"Fixed in 8da4bf7. Thanks for reporting!"}}
{"actor":{"display_login":"lfos"}}